Skip to content

Commit b0f5804

Browse files
bagasmebrauner
authored andcommitted
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: a27628f ("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>
1 parent a6b9f5b commit b0f5804

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fs/inode.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,6 +1593,9 @@ EXPORT_SYMBOL(igrab);
15931593
* @hashval: hash value (usually inode number) to search for
15941594
* @test: callback used for comparisons between inodes
15951595
* @data: opaque data pointer to pass to @test
1596+
* @isnew: return argument telling whether I_NEW was set when
1597+
* the inode was found in hash (the caller needs to
1598+
* wait for I_NEW to clear)
15961599
*
15971600
* Search for the inode specified by @hashval and @data in the inode cache.
15981601
* If the inode is in the cache, the inode is returned with an incremented

0 commit comments

Comments
 (0)