diff options
| author | NeilBrown <[email protected]> | 2007-04-04 19:08:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-04-04 21:12:47 -0700 |
| commit | 5792a2856a63cdc568e08a7d6f9b2413d9217b3e (patch) | |
| tree | 042a09fbfdf75dac5efa3bf61c7d6c6dd4c6ba7f /include/linux/debugobjects.h | |
| parent | 456a09dce9ca9b0013cabcda918aee851a04471d (diff) | |
[PATCH] md: avoid a deadlock when removing a device from an md array via sysfs
A device can be removed from an md array via e.g.
echo remove > /sys/block/md3/md/dev-sde/state
This will try to remove the 'dev-sde' subtree which will deadlock
since
commit e7b0d26a86943370c04d6833c6edba2a72a6e240
With this patch we run the kobject_del via schedule_work so as to
avoid the deadlock.
Cc: Alan Stern <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions