Btrfs: sysfs: introduce function btrfs_sysfs_add_fsid() to create sysfs fsid
authorAnand Jain <Anand.Jain@oracle.com>
Mon, 9 Mar 2015 22:38:26 +0000 (06:38 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 May 2015 10:27:20 +0000 (12:27 +0200)
commit720592157eeef627ff9a7c7c55ab1713bc48fb50
treeba665360c5a7f7b58b937cc5a15ec34d9c6bf205
parent3a08f3b72a4f03e413d89d8505b17c05194e63f9
Btrfs: sysfs: introduce function btrfs_sysfs_add_fsid() to create sysfs fsid

We need it in a seperate function so that it can be called from the
device discovery thread as well.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/sysfs.c