[GFS2] use pid for plock owner for nfs clients
authorDavid Teigland <teigland@redhat.com>
Thu, 6 Dec 2007 15:35:25 +0000 (09:35 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:08:23 +0000 (08:08 +0000)
commit2066b58b0a038d7aedd24133677efb8856cac3a1
tree0afb8a5ee7a9c1a0e4f618b818f8bd05ccd8c3a9
parentdbee2199c37336e89060fbe9abdfd1ca8454372a
[GFS2] use pid for plock owner for nfs clients

The fl_owner is that of lockd when posix locks arrive from nfs
clients, so it can't be used to distinguish between lock holders.
Use fl_pid as owner instead; it's the pid of the process on the
nfs client.

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