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>
Showing
- drivers/block/pktcdvd.c 1 addition, 1 deletiondrivers/block/pktcdvd.c
- drivers/md/linear.c 1 addition, 1 deletiondrivers/md/linear.c
- drivers/md/raid0.c 1 addition, 1 deletiondrivers/md/raid0.c
- drivers/md/raid10.c 1 addition, 1 deletiondrivers/md/raid10.c
- fs/bio.c 4 additions, 5 deletionsfs/bio.c
- include/linux/bio.h 1 addition, 3 deletionsinclude/linux/bio.h
Please register or sign in to comment