diff options
author | Thiago Farina <tfransosi@gmail.com> | 2010-01-19 14:07:09 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-01-19 14:07:09 +0100 |
commit | f06f135d8642e2f6812cfcb4ea8e4e9122d4d58c (patch) | |
tree | efef71a7083eda0c471a1c5aebb9132e37b61ade /fs | |
parent | Merge branch 'for-jens' of http://git.drbd.org/linux-2.6-drbd into for-linus (diff) | |
download | linux-f06f135d8642e2f6812cfcb4ea8e4e9122d4d58c.tar.xz linux-f06f135d8642e2f6812cfcb4ea8e4e9122d4d58c.zip |
fs/bio.c: fix shadows sparse warning
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |