21 Jul, 2015

1 commit


29 May, 2014

1 commit

  • This is a cosmetic change for now; no change in behavior.

    Note we're just depending on xdr_reserve_space to do the bounds checking
    for us, we're not really depending on its adjustment of iovec or xdr_buf
    lengths yet, as those are fixed up by as necessary after the fact by
    read-link operations and by nfs4svc_encode_compoundres. However we do
    have to update xdr->iov on read-like operations to prevent
    xdr_reserve_space from messing with the already-fixed-up length of the
    the head.

    When the attribute encoding fails partway through we have to undo the
    length adjustments made so far. We do it manually for now, but later
    patches will add an xdr_truncate_encode() helper to handle cases like
    this.

    Signed-off-by: J. Bruce Fields

    J. Bruce Fields
     

09 Jan, 2014

1 commit


13 Feb, 2013

1 commit

  • Convert nfsd_map_name_to_uid to return a kuid_t value.
    Convert nfsd_map_name_to_gid to return a kgid_t value.
    Convert nfsd_map_uid_to_name to take a kuid_t parameter.
    Convert nfsd_map_gid_to_name to take a kgid_t paramater.

    Cc: "J. Bruce Fields"
    Cc: Trond Myklebust
    Signed-off-by: "Eric W. Biederman"

    Eric W. Biederman
     

12 Apr, 2012

1 commit


05 Jan, 2011

3 commits