Btrfs: fix sparse warning related to drop_delayed_ref()
PATCH 1/1 Btrfs: fix sparse warning related to drop_delayed_ref()
Fix a sparse warning:fs/btrfs/delayed-ref.c:236:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]
Signed-off-by Jie Liu <[email protected]>
--- fs/btrfs/delayed-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/delayed-ref.c +1 -1
@@ -233,7 +233,7 @@ int btrfs_delayed_ref_lock(struct btrfs_trans_handle *trans,return 0 ; } -static void inline drop_delayed_ref (struct btrfs_trans_handle *trans, +static inline void drop_delayed_ref (struct btrfs_trans_handle *trans,struct btrfs_delayed_ref_root *delayed_refs,struct btrfs_delayed_ref_node *ref) {
Signature · 5 lines
1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-