mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
GFS2: jumping to wrong label?
Also a gfs2_glock_dq() is required here. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
970343cd49
commit
cd0120751d
@ -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);
|
||||
if (error)
|
||||
goto out_rgrp;
|
||||
goto out_gunlock;
|
||||
|
||||
error = gfs2_dir_del(dip, &dentry->d_name);
|
||||
if (error)
|
||||
|
Loading…
Reference in New Issue
Block a user