* [PATCH] nfsroot.c, kernel 2.6.14.3, do not silently stop parsing on an unknown option
@ 2005-11-28 14:32 Jörn Dreyer
0 siblings, 0 replies; only message in thread
From: Jörn Dreyer @ 2005-11-28 14:32 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 392 bytes --]
Hello,
I think it would be helpful if the kernel did not silently stop parsing
nfs options, but instead warned about any he does not recognize. The
attached patch adds one printk to do just that.
It took me a couple of hours to find my configuration mistake - it is a
trivial patch, nevertheless, I would like to see the patch included to
save others the time ...
Sincerely
Jörn Dreyer
[-- Attachment #2: nfswarning.patch --]
[-- Type: text/x-patch, Size: 464 bytes --]
--- linux-2.6.14.3/fs/nfs/nfsroot.c 2005-11-24 23:10:21.000000000 +0100
+++ linux/fs/nfs/nfsroot.c 2005-11-28 14:50:59.223111632 +0100
@@ -276,6 +277,7 @@
nfs_data.flags |= NFS_MOUNT_NOACL;
break;
default :
+ printk(KERN_WARNING "Root-NFS: unknown option: %s\n", p);
return 0;
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-28 14:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-28 14:32 [PATCH] nfsroot.c, kernel 2.6.14.3, do not silently stop parsing on an unknown option Jörn Dreyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox