diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-10-12 14:53:25 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-10-12 14:54:10 -0400 |
commit | ae9e436e26f4cb5a92f54c0d90b3965feb51531f (patch) | |
tree | c4a93e78351facf0720725a3cf4835362455d204 | |
parent | 99732e88454a1b5e3522c23df894b1bfd2678a1c (diff) |
bcachefs: fix a spurious gcc warning
-rw-r--r-- | fs/bcachefs/alloc_foreground.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_foreground.c b/fs/bcachefs/alloc_foreground.c index 42a6e29a4caa..be94196eb2d0 100644 --- a/fs/bcachefs/alloc_foreground.c +++ b/fs/bcachefs/alloc_foreground.c @@ -206,7 +206,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); |