[GFS2] Fix bug where lock not held
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 11 Oct 2006 17:34:59 +0000 (13:34 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 12 Oct 2006 21:10:55 +0000 (17:10 -0400)
commitfe1a698ffef5af546dd4a8cd6a1f2f202491c4ef
tree6e4bcc487487e2b751e40ef5e531be08e8630419
parent1ee48af22ed6dcddea8cdf93c7f2a268cbcf0d56
[GFS2] Fix bug where lock not held

The log lock needs to be held when manipulating the counter
for the number of free journal blocks.

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