Skip to contentSkip to conversation

btrfs: Fix kernel-doc

PATCH In review Jiapeng Chong 2 participants 3 messages Oct 27, 2022 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 btrfs: Fix kernel-doc

No functional modification involved.

fs/btrfs/ordered-data.c:169: warning: expecting prototype for Add an ordered extent to the per(). Prototype was for btrfs_add_ordered_extent() instead.

---
 fs/btrfs/ordered-data.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/ordered-data.c +1 -1
index 1cbaacdc50da..461ecbe75e0f 100644
@@ -145,7 +145,7 @@ static inline struct rb_node *tree_search(struct btrfs_ordered_inode_tree *tree,
 }
 
 /**
- * Add an ordered extent to the per-inode tree.
+ * btrfs_add_ordered_extent - Add an ordered extent to the per-inode tree.
  *
  * @inode:           Inode that this extent is for.
  * @file_offset:     Logical offset in file where the extent starts.
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw

PATCH 1/2 btrfs: Fix kernel-doc

No functional modification involved.

fs/btrfs/ioctl.c:4358: warning: expecting prototype for Try to acquire fs_info:(). Prototype was for btrfs_try_lock_balance() instead.

---
 fs/btrfs/ioctl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/btrfs/ioctl.c +2 -2
index ab847c4ffede..718f9aa3234b 100644
@@ -4344,8 +4344,8 @@ void btrfs_update_ioctl_balance_args(struct btrfs_fs_info *fs_info,
 }
 
 /**
- * Try to acquire fs_info::balance_mutex as well as set BTRFS_EXLCOP_BALANCE as
- * required.
+ * btrfs_try_lock_balance - Try to acquire fs_info::balance_mutex as well as set
+ * BTRFS_EXLCOP_BALANCE as required.
  *
  * @fs_info:       the filesystem
  * @excl_acquired: ptr to boolean value which is set to false in case balance
Signature · 1 line
2.20.1.7.g153144c
#2 lore raw
In reply to Jiapeng Chong
Quoted 3 lines · Jiapeng Chong

No functional modification involved.

fs/btrfs/ordered-data.c:169: warning: expecting prototype for Add an ordered extent to the per(). Prototype was for btrfs_add_ordered_extent() instead.

Thanks, I've sent patch that fixes all the kdoc formatting so we don't get any more warnings.