On Thu, Sep 30, 2021 at 05:06:09PM -0400, Chuck Lever wrote: > As we discussed, here are a couple of minor improvements for the > xdr_stream_subsegment() API added when the NFSv4 XDR functions were > recently overhauled. Notably, the second patch changes the NFSv2 and > NFSv3 decoders to work like the NFSv4 one. Looks good to me; applying. --b. > > --- > > Chuck Lever (2): > SUNRPC: xdr_stream_subsegment() must handle non-zero page_bases > NFSD: Have legacy NFSD WRITE decoders use xdr_stream_subsegment() > > > fs/nfsd/nfs3proc.c | 3 +-- > fs/nfsd/nfs3xdr.c | 12 ++---------- > fs/nfsd/nfs4proc.c | 3 +-- > fs/nfsd/nfsproc.c | 3 +-- > fs/nfsd/nfsxdr.c | 9 +-------- > fs/nfsd/xdr.h | 2 +- > fs/nfsd/xdr3.h | 2 +- > include/linux/sunrpc/svc.h | 3 +-- > net/sunrpc/svc.c | 11 ++++++----- > net/sunrpc/xdr.c | 32 +++++++++++++++++--------------- > 10 files changed, 32 insertions(+), 48 deletions(-) > > -- > Chuck Lever