* [PATCH] fs/ufs: Add kernel-doc for ufs_getfrag_block()
@ 2025-10-03 9:28 slopixelz
0 siblings, 0 replies; only message in thread
From: slopixelz @ 2025-10-03 9:28 UTC (permalink / raw)
To: viro; +Cc: willy, brauner, chentaotao, linux-kernel, Shubham Sharma
From: Shubham Sharma <slopixelz@gmail.com>
Fix missing parameter documentation in ufs_getfrag_block().
Kernel-doc warnings reported for 'inode','fragment', 'bh_result' and 'create'.
Add proper kernel-doc comments to describe these parameters.
---
fs/ufs/inode.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index 8361c00e8fa6..0776eef812fd 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -370,7 +370,11 @@ 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 fetch
+ * @bh_result: pointer to buffer_head where the block mapping will be stored
+ * @create: flag indicating whether to allocate the block if it does not exist
+*/
static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int create)
{
--
2.48.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-10-03 9:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-03 9:28 [PATCH] fs/ufs: Add kernel-doc for ufs_getfrag_block() slopixelz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox