dlm: keep lkbs in idr
authorDavid Teigland <teigland@redhat.com>
Wed, 6 Jul 2011 22:00:54 +0000 (17:00 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 11 Jul 2011 13:43:45 +0000 (08:43 -0500)
commit3d6aa675fff9eee5a6339d67b355b63a6d69565f
treef401792f4e92f2473d361bfb185c517838ab2032
parenta22ca4806822154c163c6f220f4c2a05adf96fc7
dlm: keep lkbs in idr

This is simpler and quicker than the hash table, and
avoids needing to search the hash list for every new
lkid to check if it's used.

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