projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2705ca7
)
fs/bio.c: fix shadows sparse warning
author
Thiago Farina
<tfransosi@gmail.com>
Tue, 19 Jan 2010 13:07:09 +0000
(14:07 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 19 Jan 2010 13:07:09 +0000
(14:07 +0100)
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>
fs/bio.c
patch
|
blob
|
history
diff --git
a/fs/bio.c
b/fs/bio.c
index
76e6713
..
12429c9
100644
(file)
--- 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;