summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-09-14 15:32:52 +0300
committerJens Axboe <axboe@fb.com>2016-09-14 17:44:57 +0300
commita441b0d093b3690b7cc2cb30998358904d051db4 (patch)
tree42a0bbd11ad82db034fff9ff245f6f5c01829884 /block
parentabe47114b192a9e0167905a3418d815b4fcf87de (diff)
downloadlinux-a441b0d093b3690b7cc2cb30998358904d051db4.tar.xz
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')
-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);