diff options
author | Mark Harmstone <maharmstone@fb.com> | 2025-03-11 19:39:25 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-03-18 22:35:54 +0300 |
commit | 9db9c7dd5b4e1d3205137a094805980082c37716 (patch) | |
tree | 84925175a478acb504b0cc09bb743f853e0cce77 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 49990d8fa27d75f8ecf4ad013b13de3c4b1ff433 (diff) | |
download | linux-9db9c7dd5b4e1d3205137a094805980082c37716.tar.xz |
btrfs: don't clobber ret in btrfs_validate_super()
Commit 2a9bb78cfd36 ("btrfs: validate system chunk array at
btrfs_validate_super()") introduces a call to validate_sys_chunk_array()
in btrfs_validate_super(), which clobbers the value of ret set earlier.
This has the effect of negating the validity checks done earlier, making
it so btrfs could potentially try to mount invalid filesystems.
Fixes: 2a9bb78cfd36 ("btrfs: validate system chunk array at btrfs_validate_super()")
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Mark Harmstone <maharmstone@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions