commit | 9b07357490e5c7a1c3c2b6f4679d7ee4b4185ecd | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Jun 29 16:38:34 2006 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jul 05 13:13:17 2006 -0400 |
tree | 020b1e8ed07374d45ae2691cae8ed550ef123137 | |
parent | f475ae957db66650db66916c62604ac27409d884 [diff] |
NLM,NFSv4: Don't put UNLOCK requests on the wire unless we hold a lock Use the new behaviour of {flock,posix}_file_lock(F_UNLCK) to determine if we held a lock, and only send the RPC request to the server if this was the case. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>