Skip to contentSkip to conversation

fs: Add kernel-doc comments to functions gfs2_freeze_super and gfs2_thaw_super

PATCH New Yang Li 1 participant 1 message Mar 15, 2024 GFS2 file system

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 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.

---
 fs/gfs2/super.c | 2 ++
 1 file changed, 2 insertions(+)
fs/gfs2/super.c +2 -0
index 9de789b78bc5..240822fee6fb 100644
@@ -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
  *
  */
 
Signature · 1 line
2.20.1.7.g153144c