projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5151412
)
loop: fix loop block driver discard and encryption comment
author
Dave Young
<dyoung@redhat.com>
Fri, 25 Nov 2011 08:41:25 +0000
(09:41 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 25 Nov 2011 08:41:25 +0000
(09:41 +0100)
The loop driver does not support discard if encryption is enabled,
fix the comment.
Signed-off-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/loop.c
b/drivers/block/loop.c
index 68b205a9338f631adbd98df74836b98aa95d27ac..5579fda279b497f25ae1f3a9d93a8998ced415be 100644
(file)
--- 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.
*/