diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-10-26 02:38:43 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-11-16 01:35:01 -0500 |
| commit | c460192aae197df1b4db1dca493c35ad529f1b64 (patch) | |
| tree | 72038a2f87af90062ddf08ce642c620451851df2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e9a6fb0bcdd7609be6969112f3fbfcce3b1d4a7c (diff) | |
| download | linux-c460192aae197df1b4db1dca493c35ad529f1b64.tar.gz linux-c460192aae197df1b4db1dca493c35ad529f1b64.zip | |
fuse_ctl_add_conn(): fix nlink breakage in case of early failure
fuse_ctl_remove_conn() used to decrement the link count of root
manually; that got subsumed by simple_recursive_removal(), but
in case when subdirectory creation has failed the latter won't
get called.
Just move the modification of parent's link count into
fuse_ctl_add_dentry() to keep the things simple. Allows to
get rid of the nlink argument as well...
Fixes: fcaac5b42768 "fuse_ctl: use simple_recursive_removal()"
Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
