mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
spufs: fix a leak on spufs_new_file() failure
[ Upstream commitd1ca8698ca] 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:3f51dd91c8"[PATCH] spufs: fix spufs_fill_dir error path" Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ad387704e9
commit
96de7fbdc2
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue