GFS2: Fix error path ref counting for root inode
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 20 Jan 2009 16:39:23 +0000 (16:39 +0000)
committerSteven Whitehouse <steve@dolmen.chygwyn.com>
Tue, 24 Mar 2009 11:21:17 +0000 (11:21 +0000)
commite7c8707ea2b9106f0f78c43348ff5d5e82ba7961
tree0e2de02adb03b9adccc1e8997782cc8c7561d8e8
parentac2425e7d319dec0523e52ee120a158ce6668cbd
GFS2: Fix error path ref counting for root inode

We were keeping hold of an extra ref to the root inode in one
of the error paths, that resulted in a hang.

Reported-by: Nate Straz <nstraz@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Tested-by: Robert Peterson <rpeterso@redhat.com>
fs/gfs2/ops_fstype.c