[2.6 patch] make blk-core.c:request_cachep static again
From: Adrian Bunk
Date: Wed Feb 13 2008 - 16:29:44 EST
request_cachep needlessly became global.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
---
11b0ecec3d7a5208d95dd95392815a4785d70844
diff --git a/block/blk-core.c b/block/blk-core.c
index 8ff9944..36588ff 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -37,7 +37,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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/