Skip to content

Commit

Permalink
drivers/block/loop.c: fix comment typo in loop_config_discard
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olaf Hering authored and Jens Axboe committed Jan 22, 2014
1 parent 4336548 commit 12a64d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ static void loop_config_discard(struct loop_device *lo)

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

0 comments on commit 12a64d2

Please sign in to comment.