• Neil Brown's avatar
    [PATCH] kNFSd: Minor rearrangements in NFSv4 server code to prepare for mroe state management. · 9c88ef1f
    Neil Brown authored
    From: "William A.(Andy) Adamson" <andros@citi.umich.edu>
    
    this is the first of several patches against 2.5 concerning NFSv4 state for
    nfsd. it cleans up the names of state structures in preperation for future
    share, lease, byte-range, and delegation patches. specifically, it
    
    1) renames portions of the stateid_t and moves it along with the clientid_t
    from xdr.h into state.h
    
    2) uses xdr_netobj to gather related data and length fields in struct
    nfs4_open (in xdr4.h) (e.g. we have op_fname.data and op_fname.len
    instead of op_name and op_namelen).
    
    3) renames NFSD4_CLIENT_MAXNAME to NFS4_OPAQUE_LIMIT which will be used in
    other state fields (not just for name length)
    9c88ef1f
nfs4xdr.c 51.3 KB