]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - fs/dlm/lock.c
[DLM] fix loop in grant_after_purge
authorDavid Teigland <teigland@redhat.com>
Tue, 25 Jul 2006 18:59:48 +0000 (13:59 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 26 Jul 2006 12:42:26 +0000 (08:42 -0400)
commit2b4e926aab7c854a536beee6ba8b9a78a9e00316
tree52cf392546f0a5c0453abdf3e38a89059b04a3a8
parentf7da790d743d2f0b4f39e4fa442079b3b54f3bef
[DLM] fix loop in grant_after_purge

The loop in grant_after_purge is intended to find all rsb's in each hash
bucket that have the LOCKS_PURGED flag set.  The loop was quitting the
current bucket after finding just one rsb instead of going until there are
no more.

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