summaryrefslogtreecommitdiffstats
path: root/block
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
parent9a4c8546f3e7c893888bccc2b3416d6214f2664a (diff)
downloadop-kernel-dev-5ece6c52ea52f9e94298e950a837ccff415c7687.zip
op-kernel-dev-5ece6c52ea52f9e94298e950a837ccff415c7687.tar.gz
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')
-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 e9754dc..c013ca2 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
OpenPOWER on IntegriCloud