btrfs: dev add should add its sysfs entry
authorAnand Jain <Anand.Jain@oracle.com>
Tue, 3 Jun 2014 03:36:01 +0000 (11:36 +0800)
committerChris Mason <clm@fb.com>
Sat, 28 Jun 2014 20:48:43 +0000 (13:48 -0700)
commit0d39376aa28eba6d63d0120ccc399735842abc8e
treed588573634e0af59e6fc330d32ead6d53a18ac2c
parent99994cde9c59c2b8bb67d46d531b26cc73e39747
btrfs: dev add should add its sysfs entry

we would need the device links to be created,
when device is added.

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/sysfs.c
fs/btrfs/sysfs.h
fs/btrfs/volumes.c