]> git.ipfire.org Git - thirdparty/mdadm.git/commit - sysfs.c
re-add: make re-add try to write sysfs node first
authorGuoqing Jiang <gqjiang@suse.com>
Wed, 7 Oct 2015 02:06:54 +0000 (10:06 +0800)
committerNeilBrown <neilb@suse.com>
Thu, 8 Oct 2015 00:08:40 +0000 (11:08 +1100)
commit9465f1705853ec47d95f31a332fb2e91f865cdaa
tree71ca86aefe0c4653662983c9803b04710dfeaf61
parent8266a36ad61579f33b5a2b40e3c5ce35f77a4301
re-add: make re-add try to write sysfs node first

If sysfs node existed, we should try to write "re-add" to it.

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Manage.c
mdadm.h
sysfs.c