OSDN Git Service

btrfs: make btrfs_cleanup_fs_roots() static
authorFilipe Manana <fdmanana@suse.com>
Wed, 26 Jul 2023 15:57:07 +0000 (16:57 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Aug 2023 12:52:18 +0000 (14:52 +0200)
commit504b1596bd0554c481108e1e27ed5237ed58e60c
tree53bd56c221b278a1867e1b2daa83b1065c55bd91
parent7e3bfd146e3ed1e3125a1c5e53c12dee787b6b4b
btrfs: make btrfs_cleanup_fs_roots() static

btrfs_cleanup_fs_roots() is not used outside disk-io.c, so make it static,
remove its prototype from disk-io.h and move its definition above the
where it's used in disk-io.c

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h