btrfs: factor out sysfs code for updating sprout fsid
authorDavid Sterba <dsterba@suse.com>
Thu, 1 Aug 2019 16:50:16 +0000 (18:50 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:07 +0000 (14:59 +0200)
commitf93c39970b1da007b3110fd7c9dd361614922457
tree0ecf1296e31965a90e8654ec75d5f3a123c56b46
parentb5865babb7b44308f0d0ece39756d55ef7628742
btrfs: factor out sysfs code for updating sprout fsid

Wrap the fsid renaming code and move it to sysfs.c.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h
fs/btrfs/volumes.c