summaryrefslogtreecommitdiff
path: root/drivers/md/md-faulty.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-01 11:59:44 +0300
committerJens Axboe <axboe@kernel.dk>2020-07-01 16:27:24 +0300
commited00aabd5eb9fb44d6aff1173234a2e911b9fead (patch)
treeb0044db8ec43d14994c5e5669cb3f0f0c25b9860 /drivers/md/md-faulty.c
parentc62b37d96b6eb3ec5ae4cbe00db107bf15aebc93 (diff)
downloadlinux-ed00aabd5eb9fb44d6aff1173234a2e911b9fead.tar.xz
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/md-faulty.c')
-rw-r--r--drivers/md/md-faulty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/md-faulty.c b/drivers/md/md-faulty.c
index 50ad4ba86f0e..fda4cb3f936f 100644
--- a/drivers/md/md-faulty.c
+++ b/drivers/md/md-faulty.c
@@ -169,7 +169,7 @@ static bool faulty_make_request(struct mddev *mddev, struct bio *bio)
if (bio_data_dir(bio) == WRITE) {
/* write request */
if (atomic_read(&conf->counters[WriteAll])) {
- /* special case - don't decrement, don't generic_make_request,
+ /* special case - don't decrement, don't submit_bio_noacct,
* just fail immediately
*/
bio_io_error(bio);
@@ -214,7 +214,7 @@ static bool faulty_make_request(struct mddev *mddev, struct bio *bio)
} else
bio_set_dev(bio, conf->rdev->bdev);
- generic_make_request(bio);
+ submit_bio_noacct(bio);
return true;
}