diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-02-03 15:22:54 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 18:55:52 +0200 |
| commit | 6141abb7f18f381d879d98f6c200494f14e502a0 (patch) | |
| tree | a1cc37d5b1b798cb5a19bfbb78f14b6abc50e7e5 /tools/perf/scripts/python | |
| parent | f3da62571ba25bf6c71076ee21420ed5257b84eb (diff) | |
btrfs: move min sys chunk array size check to validate_sys_chunk_array()
We check the minimum size of the sys chunk array in btrfs_validate_super()
but we have a better place for that, the helper validate_sys_chunk_array()
which we use for every other sys chunk array check. So move it there, also
converting the return error from -EINVAL to -EUCLEAN, which is a better
fit and also consistent with the other checks.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
