mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
block: Minor blk_account_io_start usage cleanup
blk_account_io_start does not need to be wrapped with blk_do_io_stat ais it already checks for that condition. Signed-off-by: Michael Callahan <michaelcallahan@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
38f2525533
commit
a21f2a3ec6
1 changed files with 1 additions and 2 deletions
|
@ -1122,7 +1122,6 @@ static void blk_mq_bio_to_request(struct request *rq, struct bio *bio)
|
||||||
{
|
{
|
||||||
init_request_from_bio(rq, bio);
|
init_request_from_bio(rq, bio);
|
||||||
|
|
||||||
if (blk_do_io_stat(rq))
|
|
||||||
blk_account_io_start(rq, 1);
|
blk_account_io_start(rq, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue