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:
d1041d8
)
bcachefs: fix wrong arg to fsck_err()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 14 May 2025 22:53:48 +0000
(18:53 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 14 May 2025 22:59:15 +0000
(18:59 -0400)
fsck_err() needs the btree transaction passed to it if there is one - so
that it can unlock/relock around prompting userspace for fixing the
error.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fsck.c
b/fs/bcachefs/fsck.c
index
7b25ced
..
71d428f
100644
(file)
--- a/
fs/bcachefs/fsck.c
+++ b/
fs/bcachefs/fsck.c
@@
-2446,7
+2446,7
@@
static int check_subvol_path(struct btree_trans *trans, struct btree_iter *iter,
u32 parent = le32_to_cpu(s.v->fs_path_parent);
if (darray_u32_has(&subvol_path, parent)) {
- if (fsck_err(
c
, subvol_loop, "subvolume loop"))
+ if (fsck_err(
trans
, subvol_loop, "subvolume loop"))
ret = reattach_subvol(trans, s);
break;
}