Skip to contentSkip to conversation

loop: fix comment typo in loop_config_discard

PATCH New Olaf Hering 1 participant 1 message Nov 28, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 loop: 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.

---
 drivers/block/loop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/loop.c +1 -1
index c8dac73..586e6f53 100644
@@ -798,7 +798,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.
 	 */