Commit e7c8707e authored by Steven Whitehouse's avatar Steven Whitehouse Committed by Steven Whitehouse

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: default avatarNate Straz <>
Signed-off-by: default avatarSteven Whitehouse <>
Tested-by: default avatarRobert Peterson <>
parent ac2425e7
......@@ -1258,6 +1258,8 @@ fail_sb:
if (sdp->sd_master_dir)
if (sb->s_root)
sb->s_root = NULL;
init_locking(sdp, &mount_gh, UNDO);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment