From 553d6f107a3e90d451fcac8a88c07746dcb340cf Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 17 Oct 2024 22:30:32 -0400 Subject: Update bcachefs sources to 1dbc147a6eb0 bcachefs: Add version check for bch_btree_ptr_v2.sectors_written validate Signed-off-by: Kent Overstreet --- libbcachefs/io_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbcachefs/io_misc.c') diff --git a/libbcachefs/io_misc.c b/libbcachefs/io_misc.c index 307ed0a4..f2830517 100644 --- a/libbcachefs/io_misc.c +++ b/libbcachefs/io_misc.c @@ -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; -- cgit v1.2.3