[GFS2] Fix a couple of refcount leaks.
commit8872187780f6104216c67e7b60c11f708b513c38
authorRussell Cattelan <cattelan@redhat.com>
Thu, 10 Aug 2006 16:08:40 +0000 (10 11:08 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 10 Aug 2006 21:18:59 +0000 (10 17:18 -0400)
tree690823763a87d7cd4c90e94760319414e2fc4ad6
parent4a99c3d9d6663085e28bc7ac8dae1e985c5a6174
[GFS2] Fix a couple of refcount leaks.

recovery.c add a brelse to deal with gfs2_replay_read_block being called
twice on the same block.

add a dput to drop the ref count on the root inode.
This was causing lingering glocks and thus causing
a mount failure to hang.

Fix a endian conversion macro that was was swizzling
16bits when it should have been swizzling 32.

Signed-off-by: Russell Cattelan <cattelan@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/ops_fstype.c
fs/gfs2/recovery.c