summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2026-05-12 10:13:37 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2026-06-08 21:53:09 +0300
commitabe91a2aa9c4a704e290e0e164228ff20a123c0a (patch)
treed14873ea0ba647c0af2e16f14857ab20b52234e8 /scripts
parent05a4d3d1b676c42ea676e39a8b459eadf81d8d37 (diff)
downloadlinux-abe91a2aa9c4a704e290e0e164228ff20a123c0a.tar.xz
switch configfs_detach_{group,item}() to passing dentry
... and there's no need to grab/drop it, or check for NULL - none of the callers would even get there with NULL dentry and all of them have the sucker pinned Note that if sd is a directory configfs_dirent, we have sd->s_element pointing to config_item with item->ci_dentry equal to sd->s_dentry. Which is the only reason why detach_groups() gets away with using the latter for locking the inode and the former for removal. Aren't redundant data structures wonderful, for obfuscation if nothing else? Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions