summaryrefslogtreecommitdiff
path: root/drivers/block/loop.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2014-01-22 02:39:24 +0400
committerJens Axboe <axboe@kernel.dk>2014-01-22 08:16:56 +0400
commit12a64d2f5ee1108c77f4468fcccf730d08b290e0 (patch)
treec7ac4c803049b977f3437c9f3094697ee920a544 /drivers/block/loop.c
parent4336548af4a2e73b4d786266e520e4e595718665 (diff)
downloadlinux-12a64d2f5ee1108c77f4468fcccf730d08b290e0.tar.xz
drivers/block/loop.c: fix comment typo in loop_config_discard
Discard requests are ignored if the encryption is enabled for the given loop device. Update comment to match the code, and similar comments elsewhere in the file. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/loop.c')
-rw-r--r--drivers/block/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 33fde3a39759..66e8c3b94ef3 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -799,7 +799,7 @@ static void loop_config_discard(struct loop_device *lo)
/*
* We use punch hole to reclaim the free space used by the
- * image a.k.a. discard. However we do support discard if
+ * image a.k.a. discard. However we do not support discard if
* encryption is enabled, because it may give an attacker
* useful information.
*/