Skip to content

Commit

Permalink
fs/bio.c: fix shadows sparse warning
Browse files Browse the repository at this point in the history
fs/bio.c:81:33: warning: symbol 'bslab' shadows an earlier one
fs/bio.c:74:25: originally declared here

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Thiago Farina authored and Jens Axboe committed Jan 19, 2010
1 parent 2705ca7 commit f06f135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static struct kmem_cache *bio_find_or_create_slab(unsigned int extra_size)

i = 0;
while (i < bio_slab_nr) {
struct bio_slab *bslab = &bio_slabs[i];
bslab = &bio_slabs[i];

if (!bslab->slab && entry == -1)
entry = i;
Expand Down

0 comments on commit f06f135

Please sign in to comment.