[GFS2] Fix an oops in glock dumping
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 24 Jul 2007 12:53:36 +0000 (13:53 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Oct 2007 07:54:49 +0000 (08:54 +0100)
commit7b08fc620109c2f66575e9ae884f45c37933ea18
tree17fd00263b24dfd88242648a7bbd4de73826daec
parentafd0942d98f74296b74993739e41d2ca7cb9fd5a
[GFS2] Fix an oops in glock dumping

This fixes an oops which was occurring during glock dumping due to the
seq file code not taking a reference to the glock. Also this fixes a
memory leak which occurred in certain cases, in turn preventing the
filesystem from unmounting.

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