diff options
author | NeilBrown <neilb@suse.de> | 2008-10-28 06:01:23 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-10-28 06:01:23 (GMT) |
commit | 934d9c23b4c7e31840a895ba4b7e88d6413c81f3 (patch) | |
tree | 989d1ac0be656e51d44eaf8513076917bfed3adf /arch/mips/kernel | |
parent | f8d56f1771e4867acc461146764b4feeb5245669 (diff) | |
download | linux-fsl-qoriq-934d9c23b4c7e31840a895ba4b7e88d6413c81f3.tar.xz |
md: destroy partitions and notify udev when md array is stopped.
md arrays are not currently destroyed when they are stopped - they
remain in /sys/block. Last time I tried this I tripped over locking
too much.
A consequence of this is that udev doesn't remove anything from /dev.
This is rather ugly.
As an interim measure until proper device removal can be achieved,
make sure all partitions are removed using the BLKRRPART ioctl, and
send a KOBJ_CHANGE when an md array is stopped.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions