summaryrefslogtreecommitdiffstats
path: root/block/bio.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-09-14 14:32:52 +0200
committerJens Axboe <axboe@fb.com>2016-09-14 16:44:57 +0200
commita441b0d093b3690b7cc2cb30998358904d051db4 (patch)
tree42a0bbd11ad82db034fff9ff245f6f5c01829884 /block/bio.c
parentblock: remove blk_mq_alloc_single_hw_queue() prototype (diff)
downloadlinux-a441b0d093b3690b7cc2cb30998358904d051db4.tar.xz
linux-a441b0d093b3690b7cc2cb30998358904d051db4.zip
block: remove remnant refs to hardsect
commit e1defc4ff0cf57aca6c5e3ff99fa503f5943c1f1 "block: Do away with the notion of hardsect_size" removed the notion of "hardware sector size" from the kernel in favor of logical block size, but references remain in comments and documentation. Update the remaining sites mentioning hardsect. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/bio.c')
-rw-r--r--block/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bio.c b/block/bio.c
index aa7354088008..a6d279e1ea9e 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -1274,7 +1274,7 @@ struct bio *bio_map_user_iov(struct request_queue *q,
nr_pages += end - start;
/*
- * buffer must be aligned to at least hardsector size for now
+ * buffer must be aligned to at least logical block size for now
*/
if (uaddr & queue_dma_alignment(q))
return ERR_PTR(-EINVAL);