public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Young <dyoung@redhat.com>
To: axboe@kernel.dk, akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: [PATCH]loop: fix loop block driver comment
Date: Fri, 25 Nov 2011 16:29:10 +0800	[thread overview]
Message-ID: <20111125082910.GA2661@darkstar.nay.redhat.com> (raw)

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.
 		 */

             reply	other threads:[~2011-11-25  8:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25  8:29 Dave Young [this message]
2011-11-25  8:42 ` [PATCH]loop: fix loop block driver comment Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111125082910.GA2661@darkstar.nay.redhat.com \
    --to=dyoung@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox