mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 21:15:53 +02:00
bcachefs: Fix check_overlapping_extents()
A error check had a flipped conditional - whoops. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
4a2e5d7ba5
commit
73da30e8e0
|
|
@ -1176,7 +1176,7 @@ static int check_overlapping_extents(struct btree_trans *trans,
|
|||
goto err;
|
||||
bkey_reassemble(update, k);
|
||||
ret = bch2_trans_update_extent(trans, iter, update, 0);
|
||||
if (!ret)
|
||||
if (ret)
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user