dlm: ignore cancel on granted lock
authorDavid Teigland <teigland@redhat.com>
Fri, 27 Feb 2009 21:23:28 +0000 (15:23 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 11 Mar 2009 17:23:58 +0000 (12:23 -0500)
commita536e38125fe5da8ed49690f30c30a8f651cf1f5
treec63ef3e58e10fbe23366ba557ceca00f69def547
parent43279e5376017c40b4be9af5bc79cbb4ef6f53d7
dlm: ignore cancel on granted lock

Return immediately from dlm_unlock(CANCEL) if the lock is
granted and not being converted; there's nothing to cancel.

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