summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-16 17:16:10 +0000
committerDavid Sterba <dsterba@suse.com>2026-10-05 16:05:43 +0200
commit1fd742c7479961da6d0bb794ef8ac6b7b9442847 (patch)
treec4f6bf74d8c1e00b01a2ca92eee052a5cda4e200 /tools/lib/python/kdoc/python_version.py
parent3e6ff34afc7ec7a6156e58502b5a56771517cf93 (diff)
downloadlinux-next-1fd742c7479961da6d0bb794ef8ac6b7b9442847.tar.gz
linux-next-1fd742c7479961da6d0bb794ef8ac6b7b9442847.zip
btrfs: scrub: fix local_root reference leak in scrub_print_warning_inode()
When paths_from_inode() fails, scrub_print_warning_inode() jumps to err without dropping the reference taken by btrfs_get_fs_root(), leaking a reference to the root every time path resolution fails while printing scrub warnings. Every other error and success path of the function drops the reference. Drop the reference on the paths_from_inode() failure path too. Fixes: 558540c17771 ("btrfs scrub: print paths of corrupted files") CC: stable@vger.kernel.org Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions