]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: dev replace should replace the sysfs entry
authorAnand Jain <Anand.Jain@oracle.com>
Tue, 3 Jun 2014 03:36:02 +0000 (11:36 +0800)
committerChris Mason <clm@fb.com>
Sat, 28 Jun 2014 20:48:44 +0000 (13:48 -0700)
commit3670412890e43aaadc3e4154bc09c0f65f036e59
treed22f55873aa6e348fc702a80128b49348a64d913
parent58f34546cd7c871ace4ad2aa460e6cba7b83a579
btrfs: dev replace should replace the sysfs entry

when we replace the device its corresponding sysfs
entry has to be replaced as well

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/dev-replace.c