commit | f06f135d8642e2f6812cfcb4ea8e4e9122d4d58c | [log] [tgz] |
---|---|---|
author | Thiago Farina <tfransosi@gmail.com> | Tue Jan 19 14:07:09 2010 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Jan 19 14:07:09 2010 +0100 |
tree | efef71a7083eda0c471a1c5aebb9132e37b61ade | |
parent | 2705ca7959111882097da1ebbe401d5566780904 [diff] [blame] |
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>
diff --git a/fs/bio.c b/fs/bio.c index 76e6713..12429c9 100644 --- a/fs/bio.c +++ b/fs/bio.c
@@ -78,7 +78,7 @@ 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;