make blk-core.c:request_cachep static again
PATCH 1/1 make blk-core.c:request_cachep static again
request_cachep needlessly became global.
Signed-off-by Adrian Bunk <[email protected]>
---11b0ecec3d7a5208d95dd95392815a4785d70844
block/blk-core.c +1 -1
@@ -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
Quoted 1 line · Adrian Bunk
request_cachepneedlessly became global.
Thanks Adrian, applied all three in this series.
Signature · 1 line
Jens Axboe