Просмотр исходного кода

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>
Adrian Bunk 18 лет назад
Родитель
Сommit
5ece6c52ea
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      block/blk-core.c

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