]> 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)
commite5e1c38692bf577466b29d65979a1682235d449a
treef26aefee48ee6c5a6ee2f3f13dcea4d41a3294ef
parent6596d0b45e37191ebc9dd4ea8de22f268000d68f
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