public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make blk-core.c:request_cachep static again
@ 2008-02-13 21:29 Adrian Bunk
  2008-02-18 12:49 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-02-13 21:29 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-18 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13 21:29 [2.6 patch] make blk-core.c:request_cachep static again Adrian Bunk
2008-02-18 12:49 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox