]> git.baikalelectronics.ru Git - kernel.git/commit
block: mark bio_split_pool static
authorDenis ChengRq <crquan@gmail.com>
Thu, 9 Oct 2008 06:57:05 +0000 (08:57 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:57:05 +0000 (08:57 +0200)
commit924ac4a20406a90390a087ccba80d0140fb9656a
tree2c52b800edcbdf01abefcf27e900985c087f1b36
parent1875935017d53d9262efdb475150728f7ea35dea
block: mark bio_split_pool static

Since all bio_split calls refer the same single bio_split_pool, the bio_split
function can use bio_split_pool directly instead of the mempool_t parameter;

then the mempool_t parameter can be removed from bio_split param list, and
bio_split_pool is only referred in fs/bio.c file, can be marked static.

Signed-off-by: Denis ChengRq <crquan@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/pktcdvd.c
drivers/md/linear.c
drivers/md/raid0.c
drivers/md/raid10.c
fs/bio.c
include/linux/bio.h