projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8b5059
)
bcachefs: fix restart handling in __bch2_resume_logged_op_finsert()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 16 Oct 2024 08:11:15 +0000
(
04:11
-0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 18 Oct 2024 04:49:48 +0000
(
00:49
-0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/io_misc.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/io_misc.c
b/fs/bcachefs/io_misc.c
index
307ed0a
..
f283051
100644
(file)
--- 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;