diff options
| author | Al Viro <[email protected]> | 2025-03-09 00:26:31 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2025-03-13 02:13:27 +0000 |
| commit | d1ca8698ca1332625d83ea0d753747be66f9906d (patch) | |
| tree | 170cbab605d7a9ab3252d0d6416b712255b480c2 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 6.14-rc6 (diff) | |
| download | kernel-d1ca8698ca1332625d83ea0d753747be66f9906d.tar.gz kernel-d1ca8698ca1332625d83ea0d753747be66f9906d.zip | |
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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
