summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorNeilBrown2009-05-07 04:51:06 +0200
committerNeilBrown2009-05-07 04:51:06 +0200
commitc4647292fda0833bebe45be27f04453b736981fa (patch)
tree85c89a4161b06b1c591a76c2a68ff51fc02ff6f4 /drivers/mmc
parentmd: remove ability to explicit set an inactive array to 'clean'. (diff)
downloadkernel-qcow2-linux-c4647292fda0833bebe45be27f04453b736981fa.tar.gz
kernel-qcow2-linux-c4647292fda0833bebe45be27f04453b736981fa.tar.xz
kernel-qcow2-linux-c4647292fda0833bebe45be27f04453b736981fa.zip
md: remove rd%d links immediately after stopping an array.
md maintains link in sys/mdXX/md/ to identify which device has which role in the array. e.g. rd2 -> dev-sda indicates that the device with role '2' in the array is sda. These links are only present when the array is active. They are created immediately after ->run is called, and so should be removed immediately after ->stop is called. However they are currently removed a little bit later, and it is possible for ->run to be called again, thus adding these links, before they are removed. So move the removal earlier so they are consistently only present when the array is active. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions