]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit507e08e44c161190647776d43b6d33fdaa2428b5
tree0afb8a5ee7a9c1a0e4f618b818f8bd05ccd8c3a9
parent7a82a47d64af3478407763430eaa3b7b62a832c2
[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