From: Dave Young Date: Fri, 25 Nov 2011 08:41:25 +0000 (+0100) Subject: loop: fix loop block driver discard and encryption comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ae95757a9065d89be7c1ca613b53163dd30858b7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Dave Young Signed-off-by: Jens Axboe --- diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 68b205a9338f..5579fda279b4 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -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. */