Hi Trond- Redriven based on your review comments. The patches start with the enc_dirpath patch, for reference. The parser fix patch is larger now, but the resulting parser is simpler. There's no need to actually count errors; simply raise a flag whenever an invalid option is encountered. Invalid values cause parsing to stop immediately. --- Chuck Lever (8): NFS: Invalid mount option values should always fail, even with "sloppy" NFS: Remove unused XDR decoder functions NFS: Update MNT and MNT3 reply decoding functions NFS: add XDR decoder for mountd version 3 auth-flavor lists NFS: add new file handle decoders to in-kernel mountd client NFS: Add separate mountd status code decoders for each mountd version NFS: remove unused function in fs/nfs/mount_clnt.c NFS: Use xdr_stream-based XDR encoder for MNT's dirpath argument fs/nfs/internal.h | 8 + fs/nfs/mount_clnt.c | 305 +++++++++++++++++++++++++++++++++++++++++++++------ fs/nfs/nfsroot.c | 2 fs/nfs/super.c | 159 +++++++++++---------------- 4 files changed, 340 insertions(+), 134 deletions(-) -- Chuck Lever <chuck.lever@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html