[GFS2] Remove all_list from lock_dlm
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 4 Jun 2008 14:06:21 +0000 (15:06 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 27 Jun 2008 08:39:50 +0000 (09:39 +0100)
commit31fcba00fe7145527b159f8893ec6c9cc61309fd
tree6fef1dc1b20166b881356159d9ac8208a9335978
parentb2cad26cfc2091050574a460b304ed103a35dbda
[GFS2] Remove all_list from lock_dlm

I discovered that we had a list onto which every lock_dlm
lock was being put. Its only function was to discover whether
we'd got any locks left after umount. Since there was already
a counter for that purpose as well, I removed the list. The
saving is sizeof(struct list_head) per glock - well worth
having.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/locking/dlm/lock.c
fs/gfs2/locking/dlm/lock_dlm.h
fs/gfs2/locking/dlm/mount.c