Skip to contentSkip to conversation

loop: fix loop block driver comment

PATCH In review Dave Young 2 participants 2 messages Nov 25, 2011 Block layer

lore
Share & tools
lore

Dave Young

author
#0 lore raw

PATCH 1/1 loop: fix loop block driver comment

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

---
 drivers/block/loop.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/loop.c +1 -1
@@ -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.
 		 */
maintainer
#1 lore raw
Quoted 1 line · Dave Young

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

Thanks Dave, applied.

Signature · 1 line
Jens Axboe