]> 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)
commit1d47359c01fe39bb31d45217a244c217b59d683d
treed22f55873aa6e348fc702a80128b49348a64d913
parente4bfd05948f6782e162f3505a69726b291998d74
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