mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-10 16:00:17 +00:00
Fix compiler warning in volumes.c
This commit is contained in:
parent
bacbad41a0
commit
9a73efb7d1
@ -606,6 +606,9 @@ static int run_next_block(struct btrfs_root *root,
|
||||
|
||||
data_bytes_allocated +=
|
||||
btrfs_file_extent_disk_num_bytes(buf, fi);
|
||||
if (data_bytes_allocated < root->sectorsize) {
|
||||
abort();
|
||||
}
|
||||
data_bytes_referenced +=
|
||||
btrfs_file_extent_num_bytes(buf, fi);
|
||||
ret = add_extent_rec(extent_cache, NULL, bytenr,
|
||||
|
Loading…
Reference in New Issue
Block a user