]> Git Repo - linux.git/commit
blk: remove bio_set arg from blk_queue_split()
authorNeilBrown <[email protected]>
Sun, 18 Jun 2017 04:38:57 +0000 (14:38 +1000)
committerJens Axboe <[email protected]>
Sun, 18 Jun 2017 18:40:59 +0000 (12:40 -0600)
commitaf67c31fba3b879b241536a48df703a2eee18ebf
tree60b9f32d39c955a79e552b00900e1a6ceb66532b
parente4cdf1a1cb161a648cc1ed7d6148fc3b99a1b3f5
blk: remove bio_set arg from blk_queue_split()

blk_queue_split() is always called with the last arg being q->bio_split,
where 'q' is the first arg.

Also blk_queue_split() sometimes uses the passed-in 'bs' and sometimes uses
q->bio_split.

This is inconsistent and unnecessary.  Remove the last arg and always use
q->bio_split inside blk_queue_split()

Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Credit-to: Javier González <[email protected]> (Noticed that lightnvm was missed)
Reviewed-by: Javier González <[email protected]>
Tested-by: Javier González <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
14 files changed:
block/blk-core.c
block/blk-merge.c
block/blk-mq.c
drivers/block/drbd/drbd_req.c
drivers/block/pktcdvd.c
drivers/block/ps3vram.c
drivers/block/rsxx/dev.c
drivers/block/umem.c
drivers/lightnvm/pblk-init.c
drivers/lightnvm/rrpc.c
drivers/md/md.c
drivers/s390/block/dcssblk.c
drivers/s390/block/xpram.c
include/linux/blkdev.h
This page took 0.065285 seconds and 4 git commands to generate.