public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]loop: fix loop block driver comment
@ 2011-11-25  8:29 Dave Young
  2011-11-25  8:42 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Young @ 2011-11-25  8:29 UTC (permalink / raw)
  To: axboe, akpm, linux-kernel

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

Signed-off-by: Dave Young <dyoung@redhat.com>
---
 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.
 		 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH]loop: fix loop block driver comment
  2011-11-25  8:29 [PATCH]loop: fix loop block driver comment Dave Young
@ 2011-11-25  8:42 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2011-11-25  8:42 UTC (permalink / raw)
  To: Dave Young; +Cc: akpm, linux-kernel

On 2011-11-25 09:29, Dave Young wrote:
> loop driver do not support discard if encryption is enabled, fix the comment.

Thanks Dave, applied.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-25  8:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-25  8:29 [PATCH]loop: fix loop block driver comment Dave Young
2011-11-25  8:42 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox