summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-03-09 03:26:31 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2025-03-13 05:13:27 +0300
commitd1ca8698ca1332625d83ea0d753747be66f9906d (patch)
tree170cbab605d7a9ab3252d0d6416b712255b480c2 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent80e54e84911a923c40d7bee33a34c1b4be148d7a (diff)
downloadlinux-d1ca8698ca1332625d83ea0d753747be66f9906d.tar.xz
spufs: fix a leak on spufs_new_file() failure
It's called from spufs_fill_dir(), and caller of that will do spufs_rmdir() in case of failure. That does remove everything we'd managed to create, but... the problem dentry is still negative. IOW, it needs to be explicitly dropped. Fixes: 3f51dd91c807 "[PATCH] spufs: fix spufs_fill_dir error path" Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions