Commit 6278a46d authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: fix a spurious gcc warning

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent ef337c54
......@@ -207,7 +207,7 @@ struct open_bucket *bch2_bucket_alloc(struct bch_fs *c, struct bch_dev *ca,
{
struct bucket_array *buckets;
struct open_bucket *ob;
long bucket;
long bucket = 0;
spin_lock(&c->freelist_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment