summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-02-06 15:26:19 -0900
committerKent Overstreet <kent.overstreet@gmail.com>2017-02-06 18:30:22 -0900
commit44591aeaf65183b6a023c6f1c579241982b3c8c7 (patch)
treebf253e88c234674ae28d7096f21eed1071217890
parent00ced2b90a5e4c2e0003a56a78b8b405ef5339fa (diff)
bcache: squash a spurious gcc warning
-rw-r--r--drivers/md/bcache/btree_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/btree_io.c b/drivers/md/bcache/btree_io.c
index ff976b59441e..e7a8a194feff 100644
--- a/drivers/md/bcache/btree_io.c
+++ b/drivers/md/bcache/btree_io.c
@@ -200,7 +200,7 @@ static unsigned sort_extent_whiteouts(struct bkey_packed *dst,
const struct bkey_format *f = &iter->b->format;
struct bkey_packed *in, *out = dst;
struct bkey_i l, r;
- bool prev = false, l_packed;
+ bool prev = false, l_packed = false;
u64 max_packed_size = bkey_field_max(f, BKEY_FIELD_SIZE);
u64 max_packed_offset = bkey_field_max(f, BKEY_FIELD_OFFSET);
u64 new_size;