dlm: fix plock notify callback to lockd
authorDavid Teigland <teigland@redhat.com>
Mon, 19 Jan 2009 19:13:33 +0000 (13:13 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 21 Jan 2009 21:28:45 +0000 (15:28 -0600)
commit24179f488092267c9a033d7e25ce7a58af50ff79
treea4f4fc6a038ba8240350a4b47d9a1f405790e78f
parentf3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b
dlm: fix plock notify callback to lockd

We should use the original copy of the file_lock, fl, instead
of the copy, flc in the lockd notify callback.  The range in flc has
been modified by posix_lock_file(), so it will not match a copy of the
lock in lockd.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/plock.c