public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 06/06] ecryptfs: Print the actual option that is problematic
@ 2006-06-26 23:49 Stephan Müller
  0 siblings, 0 replies; only message in thread
From: Stephan Müller @ 2006-06-26 23:49 UTC (permalink / raw)
  To: linux-kernel, akpm; +Cc: Michael Halcrow

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.

Signed-off-by: Stephan Mueller <smueller@chronox.de>

---

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

aef091d547149874971834ae41a3b5e3982ef679
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index 3592834..e09de17 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-26 23:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26 23:49 [PATCH 06/06] ecryptfs: Print the actual option that is problematic Stephan Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox