projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a2e5d7
)
bcachefs: Fix check_overlapping_extents()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sat, 13 May 2023 04:11:14 +0000
(
00:11
-0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:01 +0000
(17:10 -0400)
A error check had a flipped conditional - whoops.
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 eb3609aa45933afcca1d37b3e3554b15540ba99e..1b3ee66265c95b454c395598c6f390c248cec632 100644
(file)
--- a/
fs/bcachefs/fsck.c
+++ b/
fs/bcachefs/fsck.c
@@
-1176,7
+1176,7
@@
static int check_overlapping_extents(struct btree_trans *trans,
goto err;
bkey_reassemble(update, k);
ret = bch2_trans_update_extent(trans, iter, update, 0);
- if (
!
ret)
+ if (ret)
goto err;
}
}