Skip to content
Commit 9b073574 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent f475ae95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment