2023-09-14 09:22:22

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH 5/9] bcachefs: Modify mismatched function name

No functional modification involved.

fs/bcachefs/btree_trans_commit.c:223: warning: expecting prototype for btree_insert_key(). Prototype was for bch2_btree_insert_key_leaf() instead.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6580
Signed-off-by: Jiapeng Chong <[email protected]>
---
fs/bcachefs/btree_trans_commit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/bcachefs/btree_trans_commit.c b/fs/bcachefs/btree_trans_commit.c
index eafb0388ef82..5388bfa4d15b 100644
--- a/fs/bcachefs/btree_trans_commit.c
+++ b/fs/bcachefs/btree_trans_commit.c
@@ -214,7 +214,7 @@ inline void bch2_btree_add_journal_pin(struct bch_fs *c,
}

/**
- * btree_insert_key - insert a key one key into a leaf node
+ * bch2_btree_insert_key_leaf - insert a key one key into a leaf node
*/
inline void bch2_btree_insert_key_leaf(struct btree_trans *trans,
struct btree_path *path,
--
2.20.1.7.g153144c