summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-18 13:45:51 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-02-19 10:04:00 +0100
commit5ece6c52ea52f9e94298e950a837ccff415c7687 (patch)
tree70f5f64d3b9b2e0c1f90a0f6a3029b058597241a /block/blk-core.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 (diff)
downloadlinux-5ece6c52ea52f9e94298e950a837ccff415c7687.tar.xz
linux-5ece6c52ea52f9e94298e950a837ccff415c7687.zip
make blk-core.c:request_cachep static again
request_cachep needlessly became global. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index e9754dc98ec4..c013ca22eb67 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -38,7 +38,7 @@ static int __make_request(struct request_queue *q, struct bio *bio);
/*
* For the allocated request tables
*/
-struct kmem_cache *request_cachep;
+static struct kmem_cache *request_cachep;
/*
* For queue allocation