2024-03-15 08:13:51

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] fs: Add kernel-doc comments to functions gfs2_freeze_super and gfs2_thaw_super

This commit adds kernel-doc style comments with complete parameter
descriptions for the functions gfs2_freeze_super and gfs2_thaw_super.

Signed-off-by: Yang Li <[email protected]>
---
fs/gfs2/super.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 9de789b78bc5..240822fee6fb 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -731,6 +731,7 @@ void gfs2_freeze_func(struct work_struct *work)
/**
* gfs2_freeze_super - prevent further writes to the filesystem
* @sb: the VFS structure for the filesystem
+ * @who: indicates the entity that holds the freeze
*
*/

@@ -799,6 +800,7 @@ static int gfs2_freeze_fs(struct super_block *sb)
/**
* gfs2_thaw_super - reallow writes to the filesystem
* @sb: the VFS structure for the filesystem
+ * @who: indicates the entity that holds the freeze
*
*/

--
2.20.1.7.g153144c