Skip to content
  • Tigran Mkrtchyan's avatar
    nfs4: getattr should return lease time configured on state handler · 1cf016b0
    Tigran Mkrtchyan authored
    Motivation:
    if server uses another non default value for leas time, then value
    returned by GETATTR is incorrect.
    
    Modification:
    introduce NFSv4StateHandler#getLeaseTime and use it to get the value of
    FATTR4_LEASE_TIME attribute.
    
    Result:
    a server with non default lease time will return the correct value on
    getattr.
    
    Acked-by: Albert Rossi
    Target: master
    1cf016b0