Commit 29fd10a3 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: fix restart handling in __bch2_resume_logged_op_finsert()

parent d8b50597
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -377,7 +377,7 @@ static int __bch2_resume_logged_op_finsert(struct btree_trans *trans,
	 * check for missing subvolume before fpunch, as in resume we don't want
	 * it to be a fatal error
	 */
	ret = __bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot, warn_errors);
	ret = lockrestart_do(trans, __bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot, warn_errors));
	if (ret)
		return ret;