[7/9] bcachefs: Modify mismatched function name

Message ID 20230914090457.32325-8-jiapeng.chong@linux.alibaba.com
State New
Headers
Series [1/9] bcachefs: Modify mismatched function name |

Commit Message

Jiapeng Chong Sept. 14, 2023, 9:04 a.m. UTC
  No functional modification involved.

fs/bcachefs/bset.c:1314: warning: expecting prototype for bch_btree_node_iter_init(). Prototype was for bch2_btree_node_iter_init() instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6582
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 fs/bcachefs/bset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/fs/bcachefs/bset.c b/fs/bcachefs/bset.c
index 685792137d2a..2cd3e7562934 100644
--- a/fs/bcachefs/bset.c
+++ b/fs/bcachefs/bset.c
@@ -1269,7 +1269,7 @@  static void btree_node_iter_init_pack_failed(struct btree_node_iter *iter,
 }
 
 /**
- * bch_btree_node_iter_init - initialize a btree node iterator, starting from a
+ * bch2_btree_node_iter_init - initialize a btree node iterator, starting from a
  * given position
  *
  * Main entry point to the lookup code for individual btree nodes: