Skip to contentSkip to conversation

ufs: add missing parameter documentation for ufs_getfrag_block

PATCH In review Adarsh Das 2 participants 2 messages Feb 9 – Feb 11

lore
Share & tools
lore

Adarsh Das

author
#0 lore raw

PATCH 1/1 ufs: add missing parameter documentation for ufs_getfrag_block

Add kernel-doc descriptions for ufs_getfrag_block to fix build warnings.

---
 fs/ufs/inode.c | 4 ++++
 1 file changed, 4 insertions(+)
fs/ufs/inode.c +4 -0
index e2b0a35de2a7..f159447f53bb 100644
@@ -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)
Signature · 1 line
2.53.0
#1 lore raw
Quoted 1 line · Adarsh Das

Add kernel-doc descriptions for ufs_getfrag_block to fix build warnings.

Guess I'll grab it - I've got a minor UFS pile this cycle, so...