aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-06-24 08:17:58 +0930
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:29 +0200
commit5fc070a9246d8d7d5dbccecf211085be43e0e8e5 (patch)
tree315d1ace88967cb2426c514c29c61dac20f032b0 /fs/btrfs/super.c
parent896c8b92dda6ca20c6a591db996039aa8931478b (diff)
btrfs: tree-checker: add extra ram_bytes and disk_num_bytes check
This is to ensure non-compressed file extents (both regular and prealloc) should have matching ram_bytes and disk_num_bytes. This is only for CONFIG_BTRFS_DEBUG and CONFIG_BTRFS_ASSERT case, furthermore this will not return error, but just a kernel warning to inform developers. Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions