diff options
author | Dominique Martinet <[email protected]> | 2022-06-12 16:00:05 +0900 |
---|---|---|
committer | Dominique Martinet <[email protected]> | 2022-06-15 12:05:21 +0900 |
commit | beca774fc51a9ba8abbc869cf0c3d965ff17cd24 (patch) | |
tree | b5f0ad06ba647e4cae78678eb371972d908b9790 /scripts/gcc-plugins | |
parent | b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3 (diff) |
9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl
We need to release directory fid if we fail halfway through open
This fixes fid leaking with xfstests generic 531
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 6636b6dcc3db ("9p: add refcount to p9_fid struct")
Cc: [email protected]
Reported-by: Tyler Hicks <[email protected]>
Reviewed-by: Tyler Hicks <[email protected]>
Reviewed-by: Christian Schoenebeck <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions