26 Jan, 2011

1 commit

  • Clean up.

    The nfsacl_encode() and nfsacl_decode() functions return negative
    errno values, and each call site verifies that the returned value
    is not negative. Change the synopsis of both of these functions
    to reflect this usage.

    Document the synopsis and return values.

    Reported-by: Trond Myklebust
    Signed-off-by: Chuck Lever
    Signed-off-by: Trond Myklebust

    Chuck Lever
     

15 Dec, 2009

1 commit

  • An header should be compilation independent, .i.e pull in
    any header who's declarations are directly used by this header.
    And not let users re-include all it's dependencies all over
    again.

    [At the end of the day what's the use of a header if it does
    not have more then one user?]

    Signed-off-by: Boaz Harrosh
    Signed-off-by: J. Bruce Fields

    Boaz Harrosh
     

11 Mar, 2009

1 commit

  • Fix a memory leak due to allocation in the XDR layer. In cases where the
    RPC call needs to be retransmitted, we end up allocating new pages without
    clearing the old ones. Fix this by moving the allocation into
    nfs3_proc_setacls().

    Also fix an issue discovered by Kevin Rudd, whereby the amount of memory
    reserved for the acls in the xdr_buf->head was miscalculated, and causing
    corruption.

    Signed-off-by: Trond Myklebust

    Trond Myklebust
     

23 Jun, 2005

1 commit