diff options
| author | Olaf Hering <olaf@aepfle.de> | 2014-01-21 17:39:24 -0500 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2014-01-21 23:16:56 -0500 |
| commit | 12a64d2f5ee1108c77f4468fcccf730d08b290e0 (patch) | |
| tree | c7ac4c803049b977f3437c9f3094697ee920a544 | |
| parent | 4336548af4a2e73b4d786266e520e4e595718665 (diff) | |
drivers/block/loop.c: fix comment typo in loop_config_discard
Discard requests are ignored if the encryption is enabled for the given
loop device. Update comment to match the code, and similar comments
elsewhere in the file.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
| -rw-r--r-- | drivers/block/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 33fde3a39759..66e8c3b94ef3 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c | |||
| @@ -799,7 +799,7 @@ static void loop_config_discard(struct loop_device *lo) | |||
| 799 | 799 | ||
| 800 | /* | 800 | /* |
| 801 | * We use punch hole to reclaim the free space used by the | 801 | * We use punch hole to reclaim the free space used by the |
| 802 | * image a.k.a. discard. However we do support discard if | 802 | * image a.k.a. discard. However we do not support discard if |
| 803 | * encryption is enabled, because it may give an attacker | 803 | * encryption is enabled, because it may give an attacker |
| 804 | * useful information. | 804 | * useful information. |
| 805 | */ | 805 | */ |
