commit | cca9cf90c504d98644ace52c474770970729f0eb | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Apr 01 12:08:16 2010 +1100 |
committer | NeilBrown <neilb@suse.de> | Tue May 18 15:27:54 2010 +1000 |
tree | d825b55dc2f8742b210479d2af1804b5b31dd791 | |
parent | a4bd82d0d03b1485975579f131ccfd0aad6b7d6e [diff] |
md: call md_stop_writes from md_stop This moves the call to the other side of set_readonly, but that should not be an issue. This encapsulates in 'md_stop' all of the functionality for internally stopping the array, leaving all the interactions with externalities (sysfs, request_queue, gendisk) in do_md_stop. Signed-off-by: NeilBrown <neilb@suse.de>