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.

kernfs: Add missing documentation for kernfs_put_active's drop_supers argument

The drop_supers argument was added to kernfs_put_active to control
whether the kernfs_supers_rwsem is temporarily dropped along with the
kernfs_rwsem, but no documentation was added for it.

Fixes: eea5d2bb34ba ("kernfs: Send IN_DELETE_SELF and IN_IGNORED")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202603130112.2FcCzv1g-lkp@intel.com/
Signed-off-by: T.J. Mercier <tjmercier@google.com>
Link: https://patch.msgid.link/20260313175153.235681-1-tjmercier@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

T.J. Mercier and committed by
Greg Kroah-Hartman
16de94a1 10f874dc

+2
+2
fs/kernfs/dir.c
··· 481 481 /** 482 482 * kernfs_drain - drain kernfs_node 483 483 * @kn: kernfs_node to drain 484 + * @drop_supers: Set to true if this function is called with the 485 + * kernfs_supers_rwsem locked. 484 486 * 485 487 * Drain existing usages and nuke all existing mmaps of @kn. Multiple 486 488 * removers may invoke this function concurrently on @kn and all will