summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-08-22 19:26:42 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2009-08-24 10:41:44 +0100
commitcd0120751d631bc4b99f180c1c22de2caca98207 (patch)
treeb0f600750681c8f6bf8e0bd4d53901e5e9172271 /fs/gfs2
parent970343cd49048446da4189986cf960273588d71a (diff)
downloadop-kernel-dev-cd0120751d631bc4b99f180c1c22de2caca98207.zip
op-kernel-dev-cd0120751d631bc4b99f180c1c22de2caca98207.tar.gz
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>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/ops_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index f8bd20b..ce551f8 100644
--- a/fs/gfs2/ops_inode.c
+++ b/fs/gfs2/ops_inode.c
@@ -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)
OpenPOWER on IntegriCloud