diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-16 10:11:15 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-18 06:49:48 +0200 |
commit | 29fd10a36a6326aba134cc0ea9def8d4601279d0 (patch) | |
tree | 4f3052e3351e38a71dddd6a18dc83686ae1df844 /fs/bcachefs/io_misc.c | |
parent | bcachefs: fix restart handling in bch2_alloc_write_key() (diff) | |
download | linux-29fd10a36a6326aba134cc0ea9def8d4601279d0.tar.xz linux-29fd10a36a6326aba134cc0ea9def8d4601279d0.zip |
bcachefs: fix restart handling in __bch2_resume_logged_op_finsert()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r-- | fs/bcachefs/io_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/io_misc.c b/fs/bcachefs/io_misc.c index 307ed0a45184..f283051758d6 100644 --- a/fs/bcachefs/io_misc.c +++ b/fs/bcachefs/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; |