mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
bcachefs: kill dead code in move_data_phys()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
82067c9169
commit
3ffda8c219
|
|
@ -849,10 +849,6 @@ static int __bch2_move_data_phys(struct moving_context *ctxt,
|
|||
|
||||
bch2_trans_iter_init(trans, &bp_iter, BTREE_ID_backpointers, bp_start, 0);
|
||||
|
||||
bch_err_msg(c, ret, "looking up alloc key");
|
||||
if (ret)
|
||||
goto err;
|
||||
|
||||
ret = bch2_btree_write_buffer_tryflush(trans);
|
||||
if (!bch2_err_matches(ret, EROFS))
|
||||
bch_err_msg(c, ret, "flushing btree write buffer");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user