]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
GFS2: jumping to wrong label?
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 22 Aug 2009 17:26:42 +0000 (19:26 +0200)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 24 Aug 2009 09:41:44 +0000 (10:41 +0100)
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>
fs/gfs2/ops_inode.c

index f8bd20baf99c4ab6d78d2141c50d3368e99228b9..ce551f85524fc06eb44abe7359dd0d6978febc47 100644 (file)
@@ -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)