]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92076a5daaa8523accdab8eb96dabaeaa4c773ff
treea4f4fc6a038ba8240350a4b47d9a1f405790e78f
parent2e1dc5264622ab3af52fd4a25c9eacf812e23eb4
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