btrfs: ref-verify: use 'inline void' keyword ordering
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 19 Feb 2021 06:54:17 +0000 (22:54 -0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Mar 2021 15:55:40 +0000 (16:55 +0100)
commitaedb9d9089ceb1c86be495bcc70e6021c01f92ff
tree758dd893814269b51fe0b5c0d6ddc09d591d6221
parent6e37d245994189ba757df7dc2950a44d31421ac6
btrfs: ref-verify: use 'inline void' keyword ordering

Fix build warnings of function signature when CONFIG_STACKTRACE is not
enabled by reordering the 'inline' and 'void' keywords.

../fs/btrfs/ref-verify.c:221:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]
 static void inline __save_stack_trace(struct ref_action *ra)
../fs/btrfs/ref-verify.c:225:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]
 static void inline __print_stack_trace(struct btrfs_fs_info *fs_info,

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ref-verify.c