diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-10-21 07:36:55 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-11-05 13:03:39 +0100 |
commit | 468600c6ec28613b756193c5f780aac062f1acdf (patch) | |
tree | 87ab36c8d91d167ea9a7dfb26732349db83eca9f /fs/btrfs/tests/inode-tests.c | |
parent | btrfs: dev-replace: fail mount if we don't have replace item with target device (diff) | |
download | linux-468600c6ec28613b756193c5f780aac062f1acdf.tar.xz linux-468600c6ec28613b756193c5f780aac062f1acdf.zip |
btrfs: ref-verify: fix memory leak in btrfs_ref_tree_mod
There is one error handling path that does not free ref, which may cause
a minor memory leak.
CC: stable@vger.kernel.org # 4.19+
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/inode-tests.c')
0 files changed, 0 insertions, 0 deletions