diff options
author | Xiubo Li <[email protected]> | 2022-03-02 14:51:53 +0800 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2022-03-21 13:35:16 +0100 |
commit | 322794d3355c33adcc4feace0045d85a8e4ed813 (patch) | |
tree | cb41f2fbe7fda181249f6010ea9329dea2175bc2 /scripts/gdb/linux/tasks.py | |
parent | ad5255c1ea9c64b350efe732c90e63063b2bbbe0 (diff) |
ceph: fix inode reference leakage in ceph_get_snapdir()
The ceph_get_inode() will search for or insert a new inode into the
hash for the given vino, and return a reference to it. If new is
non-NULL, its reference is consumed.
We should release the reference when in error handing cases.
Signed-off-by: Xiubo Li <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions