diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-05-11 10:26:49 +0930 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-06-08 15:53:33 +0200 |
| commit | 6e4fe45f21ea741f90b5dfeea6b2e763d5642b18 (patch) | |
| tree | e45589eda499ea4a27bd3abc3744dbafcf7bf27f /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 4927b141877c35b1af4e32c7876cd2e0a0f16196 (diff) | |
btrfs: tree-checker: extract the shared key check for free space entries
Currently both check_free_space_extent() and check_free_space_bitmap()
share a very common validation on the keys.
Extract them into a helper, check_free_space_common_key(), and
change the output string ("extent" or "bitmap") depending on the key type.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
