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

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
......@@ -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.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment