Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12a64d2f authored by Olaf Hering's avatar Olaf Hering Committed by Jens Axboe
Browse files

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: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4336548a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.
	 */