diff options
author | Krishnan Parthasarathi <kp@gluster.com> | 2012-05-10 15:48:22 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-05-10 15:26:54 -0700 |
commit | 72da7808cb0497b4ac6df55c58c9bf34daeee7ac (patch) | |
tree | 9640d7373b18428af45ff133e7a418eed5403d1d /xlators/cluster/dht/src/nufa.c | |
parent | 4789058d916de596720213154cd1e2f73695aa13 (diff) |
locks: Set flock.l_type on successful F_UNLCK to signal last unlock on fd.
NLM expects a successful F_UNLCK on an fd to set flock.l_type to F_UNLCK
if it were the last unlock else F_RDLCK.
Change-Id: Ib304ac6102664abbb13d1fda649b3da63f1ee97e
BUG: 800300
Signed-off-by: Krishnan Parthasarathi <kp@gluster.com>
Reviewed-on: http://review.gluster.com/3306
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishna Srinivas <krishna@gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/nufa.c')
0 files changed, 0 insertions, 0 deletions