diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-08 21:33:52 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-14 13:16:06 -0600 |
commit | f4f8154a08bc5801a3f130db69e370d249e791ab (patch) | |
tree | 93839696b4ec7d01f54e9a51bacfd53206135166 /drivers/target/target_core_iblock.c | |
parent | 917a38c71af82185c39e31589587591fa764fb85 (diff) | |
download | linux-f4f8154a08bc5801a3f130db69e370d249e791ab.tar.gz linux-f4f8154a08bc5801a3f130db69e370d249e791ab.tar.bz2 linux-f4f8154a08bc5801a3f130db69e370d249e791ab.zip |
block: Use bioset_init() for fs_bio_set
Minor optimization - remove a pointer indirection when using fs_bio_set.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/target/target_core_iblock.c')
-rw-r--r-- | drivers/target/target_core_iblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c index 60429011292a..44cacd001aa6 100644 --- a/drivers/target/target_core_iblock.c +++ b/drivers/target/target_core_iblock.c @@ -164,7 +164,7 @@ static int iblock_configure_device(struct se_device *dev) goto out_blkdev_put; } pr_debug("IBLOCK setup BIP bs->bio_integrity_pool: %p\n", - bs->bio_integrity_pool); + &bs->bio_integrity_pool); } dev->dev_attrib.hw_pi_prot_type = dev->dev_attrib.pi_prot_type; } |