mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 07:51:16 -04:00
bcachefs: Delete a spurious assertion
bch_write_op->written used to be a u16, but it's not so the assertion isn't needed anymore - and 5.1 can send larger bios. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
committed by
Kent Overstreet
parent
2a488aaac1
commit
09bf409b46
@@ -966,7 +966,6 @@ void bch2_write(struct closure *cl)
|
||||
BUG_ON(!op->nr_replicas);
|
||||
BUG_ON(!op->write_point.v);
|
||||
BUG_ON(!bkey_cmp(op->pos, POS_MAX));
|
||||
BUG_ON(bio_sectors(&op->wbio.bio) > U16_MAX);
|
||||
|
||||
op->start_time = local_clock();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user