summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2011-11-25 09:41:25 +0100
committerJens Axboe <axboe@kernel.dk>2011-11-25 09:41:25 +0100
commitae95757a9065d89be7c1ca613b53163dd30858b7 (patch)
tree453267b0d6c3556c089bc50750675b6f4d2aed10 /drivers/block
parent5151412dd4338b273afdb107c3772528e9e67d92 (diff)
downloadop-kernel-dev-ae95757a9065d89be7c1ca613b53163dd30858b7.zip
op-kernel-dev-ae95757a9065d89be7c1ca613b53163dd30858b7.tar.gz
loop: fix loop block driver discard and encryption comment
The loop driver does not support discard if encryption is enabled, fix the comment. Signed-off-by: Dave Young <dyoung@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-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 68b205a..5579fda 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -422,7 +422,7 @@ static int do_bio_filebacked(struct loop_device *lo, struct bio *bio)
/*
* 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.
*/
OpenPOWER on IntegriCloud