[PATCH]loop: fix loop block driver comment

From: Dave Young
Date: Fri Nov 25 2011 - 03:27:14 EST


loop driver do not support discard if encryption is enabled, fix the comment.

Signed-off-by: Dave Young <dyoung@xxxxxxxxxx>
---
drivers/block/loop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.orig/drivers/block/loop.c 2011-11-21 17:24:16.000000000 +0800
+++ linux-2.6/drivers/block/loop.c 2011-11-25 16:25:42.075280030 +0800
@@ -422,7 +422,7 @@ static int do_bio_filebacked(struct loop

/*
* 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.
*/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/