提交 cd012075 编写于 作者: R Roel Kluin 提交者: Steven Whitehouse

GFS2: jumping to wrong label?

Also a gfs2_glock_dq() is required here.
Signed-off-by: NRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 970343cd
...@@ -349,7 +349,7 @@ static int gfs2_unlink(struct inode *dir, struct dentry *dentry) ...@@ -349,7 +349,7 @@ static int gfs2_unlink(struct inode *dir, struct dentry *dentry)
error = gfs2_trans_begin(sdp, 2*RES_DINODE + RES_LEAF + RES_RG_BIT, 0); error = gfs2_trans_begin(sdp, 2*RES_DINODE + RES_LEAF + RES_RG_BIT, 0);
if (error) if (error)
goto out_rgrp; goto out_gunlock;
error = gfs2_dir_del(dip, &dentry->d_name); error = gfs2_dir_del(dip, &dentry->d_name);
if (error) if (error)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册