OSDN Git Service

btrfs: factor out sysfs code for deleting block group and 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:07 +0000 (14:59 +0200)
commitb5865babb7b44308f0d0ece39756d55ef7628742
treed5952c5d4cf74eab0b288de80d43ace609bfbe1e
parent5b28692e0c4ffb7266d359f0d54155156cdfe0a2
btrfs: factor out sysfs code for deleting block group and space infos

The helpers to create block group and space info directories already
live in sysfs.c, move the deletion part there too.

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