summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2025-12-19 09:46:19 +0700
committerChristian Brauner <brauner@kernel.org>2026-01-06 23:17:52 +0100
commitb0f5804b41789f99ecf303a48fc0266dc3e24b0e (patch)
treebc7326199241237bbc0c78e18ddbff741a33a22a
parenta6b9f5b2f04bd7809cd72c5d33af944758c00ab1 (diff)
fs: Describe @isnew parameter in ilookup5_nowait()
Sphinx reports kernel-doc warning: WARNING: ./fs/inode.c:1607 function parameter 'isnew' not described in 'ilookup5_nowait' Describe the parameter. Fixes: a27628f4363435 ("fs: rework I_NEW handling to operate without fences") Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Link: https://patch.msgid.link/20251219024620.22880-2-bagasdotme@gmail.com Reviewed-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--fs/inode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/inode.c b/fs/inode.c
index a6df537eb856..b986da098e87 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1593,6 +1593,9 @@ EXPORT_SYMBOL(igrab);
* @hashval: hash value (usually inode number) to search for
* @test: callback used for comparisons between inodes
* @data: opaque data pointer to pass to @test
+ * @isnew: return argument telling whether I_NEW was set when
+ * the inode was found in hash (the caller needs to
+ * wait for I_NEW to clear)
*
* Search for the inode specified by @hashval and @data in the inode cache.
* If the inode is in the cache, the inode is returned with an incremented