ocfs2: fix check for locally granted state during dlmunlock()
authorKurt Hackel <kurt.hackel@oracle.com>
Sat, 15 Jul 2006 17:22:39 +0000 (10:22 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 7 Aug 2006 17:55:22 +0000 (10:55 -0700)
commit34e3d180370c44ad3ecd3a1f9099e150d3bb103f
treef0e942f11654d3923ddf2c854be5e94572eb52e9
parenta23eac99d4392b8b779305498d7614e41a0e16e9
ocfs2: fix check for locally granted state during dlmunlock()

If a process requests a lock cancel but the lock has been remotely granted
already then there is no need to send the cancel message.

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmunlock.c