summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-01-19 14:07:09 +0100
committerJens Axboe <jens.axboe@oracle.com>2010-01-19 14:07:09 +0100
commitf06f135d8642e2f6812cfcb4ea8e4e9122d4d58c (patch)
treeefef71a7083eda0c471a1c5aebb9132e37b61ade
parent2705ca7959111882097da1ebbe401d5566780904 (diff)
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>
-rw-r--r--fs/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bio.c b/fs/bio.c
index 76e6713abf94..12429c9553eb 100644
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -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;