diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-09 01:07:01 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-11-16 01:35:03 -0500 |
| commit | 5a8993a15a79f03cd1a43ddc071d0e49a1247cd5 (patch) | |
| tree | fc1e80b5a0f2f5b374f29230c3776c7881371c20 /tools/lib/python/kdoc/python_version.py | |
| parent | ae1fde9038f333adab4be8283410ddc8570931c9 (diff) | |
convert fuse_ctl
objects are created in fuse_ctl_add_dentry() by d_alloc_name()+d_add(),
removed by simple_remove_by_name().
What we return is a borrowed reference - it is valid until the call of
fuse_ctl_remove_conn() and we depend upon the exclusion (on fuse_mutex)
for safety. Return value is used only within the caller
(fuse_ctl_add_conn()).
Replace d_add() with d_make_persistent() + dput(). dput() is paired
with d_alloc_name() and return value is the result of d_make_persistent().
Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
