projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae0ff7b
)
bcachefs: Fix for the stripes mark path and gc
author
Kent Overstreet
<kent.overstreet@gmail.com>
Wed, 8 May 2019 21:56:05 +0000
(17:56 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:21 +0000
(17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/buckets.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/buckets.c
b/fs/bcachefs/buckets.c
index 2479ad37775ba2fe8d7b080c41de208acde2262b..d0a288dddb45e710d42e867d97264fc7a27e9f7a 100644
(file)
--- a/
fs/bcachefs/buckets.c
+++ b/
fs/bcachefs/buckets.c
@@
-994,7
+994,7
@@
static int bch2_mark_stripe(struct bch_fs *c, struct bkey_s_c k,
return -1;
}
- if (m->alive)
+ if (
!gc &&
m->alive)
bch2_stripes_heap_del(c, m, idx);
memset(m, 0, sizeof(*m));