Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Bagas Sanjaya and committed by
Christian Brauner
fe33729d 46af9ae1

+3
+3
fs/inode.c
··· 1593 1593 * @hashval: hash value (usually inode number) to search for 1594 1594 * @test: callback used for comparisons between inodes 1595 1595 * @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) 1596 1599 * 1597 1600 * Search for the inode specified by @hashval and @data in the inode cache. 1598 1601 * If the inode is in the cache, the inode is returned with an incremented