bcachefs: check_extents(): make sure to check i_sectors for last inode
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
93de9e92c3
commit
5897505e67
@ -1426,7 +1426,8 @@ int bch2_check_extents(struct bch_fs *c)
|
||||
BTREE_INSERT_LAZY_RW|BTREE_INSERT_NOFAIL, ({
|
||||
bch2_disk_reservation_put(c, &res);
|
||||
check_extent(&trans, &iter, k, &w, &s, &extent_ends);
|
||||
}));
|
||||
})) ?:
|
||||
check_i_sectors(&trans, &w);
|
||||
|
||||
bch2_disk_reservation_put(c, &res);
|
||||
extent_ends_reset(&extent_ends);
|
||||
|
Loading…
x
Reference in New Issue
Block a user