]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/dlm/plock.c
[GFS2] match plock result with correct request
authorDavid Teigland <teigland@redhat.com>
Fri, 4 Aug 2006 21:19:20 +0000 (16:19 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 7 Aug 2006 12:46:51 +0000 (08:46 -0400)
commit08eac93a689ca05c7b7413f6d362c7d38b5fd5b1
tree8511ce6587dba063dee9dad5c6ff85cbd108967f
parent3120ec541eafc6ed19bacb395adf08c5872143bf
[GFS2] match plock result with correct request

When the result of a posix lock request is read it needs to be matched up
with the correct waiting request.  The owner field needs to be used in the
comparison since more than one process may be waiting for locks on the
same file.

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