[8/9] bcachefs: Modify mismatched function name

Message ID 20230914090457.32325-9-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/btree_cache.c:932: warning: expecting prototype for bch_btree_node_get(). Prototype was for bch2_btree_node_get() instead.

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

Patch

diff --git a/fs/bcachefs/btree_cache.c b/fs/bcachefs/btree_cache.c
index d8cd0bbc33cc..661d26da3819 100644
--- a/fs/bcachefs/btree_cache.c
+++ b/fs/bcachefs/btree_cache.c
@@ -918,7 +918,7 @@  static struct btree *__bch2_btree_node_get(struct btree_trans *trans, struct btr
 }
 
 /**
- * bch_btree_node_get - find a btree node in the cache and lock it, reading it
+ * bch2_btree_node_get - find a btree node in the cache and lock it, reading it
  * in from disk if necessary.
  *
  * The btree node will have either a read or a write lock held, depending on