]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Move btrfs_check_super_valid() to avoid forward declaration
authorQu Wenruo <wqu@suse.com>
Fri, 11 May 2018 05:35:25 +0000 (13:35 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:36 +0000 (18:07 +0200)
commit91bf8c3495a7740959d383f3397cffe7bd6a1fdd
treef26aefee48ee6c5a6ee2f3f13dcea4d41a3294ef
parentf35828d2deab349979c12a5b408fc911aaae6134
btrfs: Move btrfs_check_super_valid() to avoid forward declaration

Move btrfs_check_super_valid() before its single caller to avoid forward
declaration.

Though such code motion is not recommended as it pollutes git history,
in this case the following patches would need to add new forward
declarations for static functions that we want to avoid.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c