diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-01 10:59:44 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 15:27:24 +0200 |
commit | ed00aabd5eb9fb44d6aff1173234a2e911b9fead (patch) | |
tree | b0044db8ec43d14994c5e5669cb3f0f0c25b9860 /drivers/md/dm-writecache.c | |
parent | block: move ->make_request_fn to struct block_device_operations (diff) | |
download | linux-ed00aabd5eb9fb44d6aff1173234a2e911b9fead.tar.xz linux-ed00aabd5eb9fb44d6aff1173234a2e911b9fead.zip |
block: rename generic_make_request to submit_bio_noacct
generic_make_request has always been very confusingly misnamed, so rename
it to submit_bio_noacct to make it clear that it is submit_bio minus
accounting and a few checks.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-writecache.c')
-rw-r--r-- | drivers/md/dm-writecache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c index 74f3c506f084..62421554b838 100644 --- a/drivers/md/dm-writecache.c +++ b/drivers/md/dm-writecache.c @@ -1238,7 +1238,7 @@ static int writecache_flush_thread(void *data) bio_end_sector(bio)); wc_unlock(wc); bio_set_dev(bio, wc->dev->bdev); - generic_make_request(bio); + submit_bio_noacct(bio); } else { writecache_flush(wc); wc_unlock(wc); |