Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08239ca2 authored by Wei Yongjun's avatar Wei Yongjun Committed by Kent Overstreet
Browse files

bcache: fix sparse non static symbol warning



Fixes the following sparse warning:

drivers/md/bcache/btree.c:2220:5: warning:
 symbol 'btree_insert_fn' was not declared. Should it be static?

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarKent Overstreet <kmo@daterainc.com>
parent c8694948
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2217,7 +2217,7 @@ struct btree_insert_op {
	struct bkey	*replace_key;
};

int btree_insert_fn(struct btree_op *b_op, struct btree *b)
static int btree_insert_fn(struct btree_op *b_op, struct btree *b)
{
	struct btree_insert_op *op = container_of(b_op,
					struct btree_insert_op, op);