diff options
author | Qu Wenruo <wqu@suse.com> | 2020-11-03 21:30:48 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-12-08 15:54:04 +0100 |
commit | 77bf40a2ba2e6eded53a74f94d1be448bd8db030 (patch) | |
tree | 340342aa1c71519e48dd65ec68a6824127c2c140 /fs/afs/vlclient.c | |
parent | a26663e7a2f456b8111de0135394c04c72831930 (diff) |
btrfs: extract extent buffer verification from btrfs_validate_metadata_buffer()
Currently btrfs_validate_metadata_buffer() only needs to handle one
extent buffer as currently one page maps to at most one extent buffer.
For incoming subpage support, we need to extend the support where one
page could contain multiple extent buffers.
Split the function so we can call validate_extent_buffer on extent
buffers independently.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
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 'fs/afs/vlclient.c')
0 files changed, 0 insertions, 0 deletions