summaryrefslogtreecommitdiff
path: root/libbcachefs/movinggc.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-12-03 13:07:16 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2020-12-03 13:13:53 -0500
commitdd707c9bfdc13fd90856576ddbb383efccef751c (patch)
treea0d588354c6281cf05d490b30ebbeafc9064dea1 /libbcachefs/movinggc.c
parent1e574cb1aa07ab3a796c7d6c5501b96f3056ef4d (diff)
Update bcachefs sources to 0010403265 bcachefs: Fix spurious alloc errors on forced shutdown
Diffstat (limited to 'libbcachefs/movinggc.c')
-rw-r--r--libbcachefs/movinggc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/movinggc.c b/libbcachefs/movinggc.c
index 4834f41f..2c5daed5 100644
--- a/libbcachefs/movinggc.c
+++ b/libbcachefs/movinggc.c
@@ -61,7 +61,7 @@ static enum data_cmd copygc_pred(struct bch_fs *c, void *arg,
copygc_heap *h = &c->copygc_heap;
struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
const union bch_extent_entry *entry;
- struct extent_ptr_decoded p;
+ struct extent_ptr_decoded p = { 0 };
bkey_for_each_ptr_decode(k.k, ptrs, p, entry) {
struct bch_dev *ca = bch_dev_bkey_exists(c, p.ptr.dev);