[2.6 patch] make blk-core.c:request_cachep static again

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jens Axboe <jens.axboe@...>
Cc: <linux-kernel@...>
Date: Wednesday, February 13, 2008 - 5:29 pm

request_cachep needlessly became global.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] make blk-core.c:request_cachep static again, Adrian Bunk, (Wed Feb 13, 5:29 pm)