XDR cleanups for NFSv4
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest8 patches 0 repliesNew
- v48 patches 0 repliesSuperseded
- v34 patches 6 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 0 replies | Superseded | |
| v1 | 4 patches | 0 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | SUNRPC: Add generic helpers for xdr_stream encode/decodeinclude/ | +177 | 0 replies | |
| 2/8 | NFSv4: Replace ad-hoc xdr encode/decode helpers with xdr_stream_* genericsfs/ fs/ fs/ | +12 | 0 replies | |
| 3/8 | NFSv4: Replace the open coded decode_opaque_inline() with the new genericfs/ | +8 | 0 replies | |
| 4/8 | NFSv4: Replace callback string decode function with a genericfs/ | +8 | 0 replies | |
| 5/8 | NFSv4: Fix the underestimation of delegation XDR space reservationfs/ | +2 | 0 replies | |
| 6/8 | NFSv4: Remove bogus "struct nfs_client" argument from decode_ace()fs/ | +2 | 0 replies | |
| 7/8 | SUNRPC: Add a helper function xdr_stream_decode_string_dup()include/ net/ | +36 | 0 replies | |
| 8/8 | NFSv4: Clean up owner/group attribute decodefs/ | +57 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Chuck Lever |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/8] XDR cleanups for NFSv4
Various cleanups and bugfixes for the NFSv4 client XDR code.
v2: Add documentation to the generic helpers
v3: Fix a bug in xdr_stream_encode_opaque (Whoops!)
v4: Add a "maxlen" argument to xdr_stream_decode_opaque_inline() to perform
size sanity checking on all objects coming from the server. Replace the string decoder in the callback XDR
Add cleanups for the owner/group attribute decoding
v5: Use EMSGSIZE to denote encode errors, and destination buffer size issues.
Use EBADMSG to denote errors due to truncated RPC calls.
Trond Myklebust (8):
SUNRPC: Add generic helpers for xdr_stream encode/decode
NFSv4: Replace ad-hoc xdr encode/decode helpers with xdr_stream_*
generics
NFSv4: Replace the open coded decode_opaque_inline() with the new
generic
NFSv4: Replace callback string decode function with a generic
NFSv4: Fix the underestimation of delegation XDR space reservation
NFSv4: Remove bogus "struct nfs_client" argument from decode_ace()
SUNRPC: Add a helper function xdr_stream_decode_string_dup()
NFSv4: Clean up owner/group attribute decode
fs/nfs/callback_xdr.c | 38 ++----- fs/nfs/flexfilelayout/flexfilelayout.c | 5 +- fs/nfs/nfs4xdr.c | 185 ++++++++++++++------------------- include/linux/sunrpc/xdr.h | 179 +++++++++++++++++++++++++++++++ net/sunrpc/xdr.c | 34 ++++++ 5 files changed, 302 insertions(+), 139 deletions(-)
Signature · 1 line
2.9.3