Mount XDR rewrite, and parser bugfix, take 2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | NFS: Use xdr_stream-based XDR encoder for MNT's dirpath argumentfs/ | +44 | 0 replies | |
| 2/8 | NFS: remove unused function in fs/nfs/mount_clnt.cfs/ | +0 | 0 replies | |
| 3/8 | NFS: Add separate mountd status code decoders for each mountd versionfs/ | +116 | 0 replies | |
| 4/8 | NFS: add new file handle decoders to in-kernel mountd clientfs/ | +39 | 0 replies | |
| 5/8 | NFS: add XDR decoder for mountd version 3 auth-flavor listsfs/ fs/ | +43 | 0 replies | |
| 6/8 | NFS: Update MNT and MNT3 reply decoding functionsfs/ fs/ fs/ +1 more | +55 | 0 replies | |
| 7/8 | NFS: Remove unused XDR decoder functionsfs/ | +0 | 0 replies | |
| 8/8 | NFS: Invalid mount option values should always fail, even with "sloppy"fs/ | +61 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] Mount XDR rewrite, and parser bugfix, take 2
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(-)
Signature · 1 line
Chuck Lever <[email protected]>