GFS2: Fix debugfs glock file iterator
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 22 Jul 2008 21:58:03 +0000 (22:58 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 13 Aug 2008 08:59:10 +0000 (09:59 +0100)
commitc1e817d03a7de57a963654c35e6e80af9a5dbff5
treee90926cce9311091b31ea60fbf35dc11c9d18a3f
parent30a2f3c60a84092c8084dfe788b710f8d0768cd4
GFS2: Fix debugfs glock file iterator

Due to an incorrect iterator, some glocks were being missed from the
glock dumps obtained via debugfs. This patch fixes the problem and
ensures that we don't miss any glocks in future.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c