Skip to content

Commit 29fd10a

Browse files
author
Kent Overstreet
committed
bcachefs: fix restart handling in __bch2_resume_logged_op_finsert()
Signed-off-by: Kent Overstreet <[email protected]>
1 parent d8b5059 commit 29fd10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/io_misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ static int __bch2_resume_logged_op_finsert(struct btree_trans *trans,
377377
* check for missing subvolume before fpunch, as in resume we don't want
378378
* it to be a fatal error
379379
*/
380-
ret = __bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot, warn_errors);
380+
ret = lockrestart_do(trans, __bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot, warn_errors));
381381
if (ret)
382382
return ret;
383383

0 commit comments

Comments
 (0)