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

Commit ae95757a authored by Dave Young's avatar Dave Young Committed by Jens Axboe
Browse files

loop: fix loop block driver discard and encryption comment



The loop driver does not support discard if encryption is enabled,
fix the comment.

Signed-off-by: default avatarDave Young <dyoung@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5151412d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -422,7 +422,7 @@ static int do_bio_filebacked(struct loop_device *lo, struct bio *bio)

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