Skip to contentSkip to conversation

ecryptfs: Print the actual option that is problematic

PATCH In review Stephan Müller 1 participant 1 message Jun 26, 2006 Ecrypt file system

lore
Share & tools
lore
#0 lore raw

PATCH 6/6 ecryptfs: Print the actual option that is problematic

Kernel version: 2.6.17-mm1

When parsing unknown mount options, the printk will now issue the problematic option instead of the whole option string.

---

 fs/ecryptfs/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

aef091d547149874971834ae41a3b5e3982ef679

fs/ecryptfs/main.c +1 -1
index 3592834..e09de17 100644
@@ -280,7 +280,7 @@ static int ecryptfs_parse_options(struct
 		default:
 			ecryptfs_printk(KERN_WARNING,
 					"eCryptfs: unrecognized option '%s'\n",
-					options);
+					p);
 		}
 	}
 	/* Do not support lack of mount-wide signature in 0.1