diff options
author | NeilBrown <neilb@suse.de> | 2008-04-30 00:52:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 08:29:32 -0700 |
commit | 648b629ed406233b0a607a3cf29d8a169876131f (patch) | |
tree | 4faf3a965c6f369608b5187a3ecdd25e00264d63 /Documentation/sh | |
parent | 31a59e3425d32743738e043c1df1668e0f22bbab (diff) |
md: fix up switching md arrays between read-only and read-write
When setting an array to 'readonly' or to 'active' via sysfs, we must make the
appropriate set_disk_ro call too.
Also when switching to "read_auto" (which is like readonly, but blocks on the
first write so that metadata can be marked 'dirty') we need to be more careful
about what state we are changing from.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sh')
0 files changed, 0 insertions, 0 deletions