summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-10-26 02:38:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-11-16 01:35:01 -0500
commitc460192aae197df1b4db1dca493c35ad529f1b64 (patch)
tree72038a2f87af90062ddf08ce642c620451851df2 /tools/perf/scripts/python/bin/stackcollapse-report
parente9a6fb0bcdd7609be6969112f3fbfcce3b1d4a7c (diff)
downloadlinux-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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions