[PATCH 1/2] btrfs: Fix kernel-doc

From: Jiapeng Chong
Date: Thu Oct 27 2022 - 02:20:42 EST


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.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2604
Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
---
fs/btrfs/ioctl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index ab847c4ffede..718f9aa3234b 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -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
--
2.20.1.7.g153144c