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)
commit49c6f736f34f901117c20960ebd7d5e60f12fcac
treed22f55873aa6e348fc702a80128b49348a64d913
parent0d39376aa28eba6d63d0120ccc399735842abc8e
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