summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2015-09-24 14:00:51 +1000
committerNeilBrown <neilb@suse.com>2015-10-02 17:23:43 +1000
commit88724bfa68be792c1487d759e87568c36ac1a1cc (patch)
tree12cf787a5922610396529d90ae82ccaf223a57d9 /drivers/pcmcia
parentbcee19f424a0d8c26ecf2607b73c690802658b29 (diff)
downloadlinux-stable-88724bfa68be792c1487d759e87568c36ac1a1cc.tar.gz
linux-stable-88724bfa68be792c1487d759e87568c36ac1a1cc.tar.bz2
linux-stable-88724bfa68be792c1487d759e87568c36ac1a1cc.zip
md: wait for pending superblock updates before switching to read-only
If a superblock update is pending, wait for it to complete before letting md_set_readonly() switch to readonly. Otherwise we might lose important information about a device having failed. For external arrays, waiting for superblock updates can wait on user-space, so in that case, just return an error. Reported-and-tested-by: Shaohua Li <shli@fb.com> Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions