[GFS2] return conflicts for GETLK
authorDavid Teigland <teigland@redhat.com>
Fri, 8 Jun 2007 22:01:40 +0000 (17:01 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 07:23:33 +0000 (08:23 +0100)
commita7a2ff8a951ab373732116e7c31e2e1fe025d5e0
treeaec05033231051f07af384f2e89dd500ff3d7a66
parentd88101d4d82ea09433692af30618c3b7afb7da02
[GFS2] return conflicts for GETLK

We weren't returning the correct result when GETLK found a conflict,
which is indicated by userspace passing back a 1.

Signed-off-by: Abhijith Das <adas redhat com>
Signed-off-by: David Teigland <teigland redhat com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/locking/dlm/plock.c