Skip to content

Commit 12a64d2

Browse files
olafheringaxboe
authored andcommitted
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>
1 parent 4336548 commit 12a64d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/block/loop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ static void loop_config_discard(struct loop_device *lo)
799799

800800
/*
801801
* 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
803803
* encryption is enabled, because it may give an attacker
804804
* useful information.
805805
*/

0 commit comments

Comments
 (0)