summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-10-13 11:55:12 +1100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-12 09:31:12 -0800
commit2dcee68b26a8c19dc08e594604db4ac129d495ed (patch)
tree2b612a76125bd539bc86d21f9cb00d50586badef /net
parent3a90273ed724622c82787316c772e5d75c69f5cb (diff)
downloadlinux-stable-2dcee68b26a8c19dc08e594604db4ac129d495ed.tar.gz
linux-stable-2dcee68b26a8c19dc08e594604db4ac129d495ed.tar.bz2
linux-stable-2dcee68b26a8c19dc08e594604db4ac129d495ed.zip
md: Don't try to set an array to 'read-auto' if it is already in that state.
commit 80268ee9270ebe4847365a7426de91d179e870d0 upstream. 'read-auto' is a variant of 'readonly' which will switch to writable on the first write attempt. Calling do_md_stop to set the array readonly when it is already readonly returns an error. So make sure not to do that. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions