]> git.ipfire.org Git - thirdparty/mdadm.git/commit - sysfs.c
Handle device removal from container
authorNeil Brown <neilb@suse.de>
Sat, 12 Jul 2008 10:27:40 +0000 (20:27 +1000)
committerNeil Brown <neilb@suse.de>
Sat, 12 Jul 2008 10:27:40 +0000 (20:27 +1000)
commitf94d52f43ea70665f0293de0fe8940d64931e893
tree935d0b7e1ace033e64d2f276175e15373268a5fc
parentd4da74fc9c5b9f63bb6e4c8e00d1d871ea7174a3
Handle device removal from container

This really should be done in mdadm, not mdmon.
We ensure the device won't be suddenly commited as a hot-spare
using O_EXCL, then check the 'holders' sysfs directory
to make sure it is only in use once.
Manage.c
managemon.c
mdadm.h
monitor.c
msg.c
msg.h
sysfs.c