aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2022-08-23 11:53:39 +0200
committerGreg Kroah-Hartman <[email protected]>2022-09-01 16:18:49 +0200
commit9d64d2405f7d30d49818f6682acd0392348f0fdb (patch)
tree6d8cb5c4bbb9f09467672410dec0ce8fadf8c8fe /tools/perf/scripts/python/syscall-counts.py
parenteaf271ea844b8dea5256bd3c73e642ef13ce68a2 (diff)
binderfs: rework superblock destruction
So far we relied on .put_super = binderfs_put_super() to destroy info we stashed in sb->s_fs_info. This gave us the required ordering between ->evict_inode() and sb->s_fs_info destruction. But the current implementation of binderfs_fill_super() has a memory leak in the rare circumstance that d_make_root() fails because ->put_super() is only called when sb->s_root is initialized. Fix this by removing ->put_super() and simply do all that work in binderfs_kill_super(). Reported-by: Dongliang Mu <[email protected]> Signed-off-by: Al Viro <[email protected]> Signed-off-by: Christian Brauner (Microsoft) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions