[PATCH] ufs: add missing parameter documentation for ufs_getfrag_block

Adarsh Das posted 1 patch 10 hours ago
fs/ufs/inode.c | 4 ++++
1 file changed, 4 insertions(+)
[PATCH] ufs: add missing parameter documentation for ufs_getfrag_block
Posted by Adarsh Das 10 hours ago
Add kernel-doc descriptions for ufs_getfrag_block to fix build warnings.

Signed-off-by: Adarsh Das <adarshdas950@gmail.com>
---
 fs/ufs/inode.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index e2b0a35de2a7..f159447f53bb 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -370,6 +370,10 @@ static u64 ufs_inode_getblock(struct inode *inode, u64 ind_block,
 /**
  * ufs_getfrag_block() - `get_block_t' function, interface between UFS and
  * read_folio, writepages and so on
+ * @inode: pointer to inode
+ * @fragment: fragment number to map
+ * @bh_result: buffer head to fill with mapping information
+ * @create: if non-zero, allocate new blocks/fragments if needed
  */
 
 static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int create)
-- 
2.53.0