summaryrefslogtreecommitdiffstats
path: root/drivers/block/skd_main.c
diff options
context:
space:
mode:
authorBart Van Assche2017-08-17 22:12:53 +0200
committerJens Axboe2017-08-18 16:45:29 +0200
commita5c5b3922576065ca6072653aa8be4d5e50fef09 (patch)
tree5a51391126367ccfe588a681f40ccd77d5964fca /drivers/block/skd_main.c
parentskd: Avoid that gcc 7 warns about fall-through when building with W=1 (diff)
downloadkernel-qcow2-linux-a5c5b3922576065ca6072653aa8be4d5e50fef09.tar.gz
kernel-qcow2-linux-a5c5b3922576065ca6072653aa8be4d5e50fef09.tar.xz
kernel-qcow2-linux-a5c5b3922576065ca6072653aa8be4d5e50fef09.zip
skd: Fix spelling in a source code comment
Change "ptimal" into "optimal" and remove the misleading reference to sysfs. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/skd_main.c')
-rw-r--r--drivers/block/skd_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index 1d0ad31d2256..6c7cf5327d22 100644
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -4273,7 +4273,7 @@ static int skd_cons_disk(struct skd_device *skdev)
blk_queue_max_segments(q, skdev->sgs_per_request);
blk_queue_max_hw_sectors(q, SKD_N_MAX_SECTORS);
- /* set sysfs ptimal_io_size to 8K */
+ /* set optimal I/O size to 8KB */
blk_queue_io_opt(q, 8192);
queue_flag_set_unlocked(QUEUE_FLAG_NONROT, q);