btrfs: factor out sysfs code for creating space infos
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:06 +0000 (14:59 +0200)
commitb882327a774041d5710e37da3286e25278a1947f
tree59ee6d29373db7b60f471600e40a2ddb7ecdede8
parent536ea45cba34618669a2f984fa7dff86480823fb
btrfs: factor out sysfs code for creating space infos

Move creation of data/metadata/system space info directories to sysfs.c.

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