Skip to contentSkip to conversation

fs: Add kernel-doc comments to ocfs2_prepare_orphan_dir()

PATCH Applied Yang Li 2 participants 2 messages Mar 22, 2024 OCFS2

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 fs: Add kernel-doc comments to ocfs2_prepare_orphan_dir()

This commit adds kernel-doc style comments with complete parameter descriptions for the function ocfs2_prepare_orphan_dir.

---
 fs/ocfs2/namei.c | 2 ++
 1 file changed, 2 insertions(+)
fs/ocfs2/namei.c +2 -0
index 9221a33f917b..8a61c5f94533 100644
@@ -2187,8 +2187,10 @@ static int __ocfs2_prepare_orphan_dir(struct inode *orphan_dir_inode,
  * @osb: ocfs2 file system
  * @ret_orphan_dir: Orphan dir inode - returned locked!
  * @blkno: Actual block number of the inode to be inserted into orphan dir.
+ * @name: Buffer to store the name of the orphan.
  * @lookup: dir lookup result, to be passed back into functions like
  *          ocfs2_orphan_add
+ * @dio: Flag indicating if direct IO is being used or not.
  *
  * Returns zero on success and the ret_orphan_dir, name and lookup
  * fields will be populated.
Signature · 1 line
2.20.1.7.g153144c
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Yang Li

This commit adds kernel-doc style comments with complete parameter descriptions for the function ocfs2_prepare_orphan_dir.

Quoted 19 lines
---
 fs/ocfs2/namei.c | 2 ++
 1 file changed, 2 insertions(+)
fs/ocfs2/namei.c +2 -0
index 9221a33f917b..8a61c5f94533 100644
@@ -2187,8 +2187,10 @@ static int __ocfs2_prepare_orphan_dir(struct inode *orphan_dir_inode,
  * @osb: ocfs2 file system
  * @ret_orphan_dir: Orphan dir inode - returned locked!
  * @blkno: Actual block number of the inode to be inserted into orphan dir.
+ * @name: Buffer to store the name of the orphan.
  * @lookup: dir lookup result, to be passed back into functions like
  *          ocfs2_orphan_add
+ * @dio: Flag indicating if direct IO is being used or not.
  *
  * Returns zero on success and the ret_orphan_dir, name and lookup
  * fields will be populated.