]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
GFS2: Fix freeze issue
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 23 Mar 2009 11:38:55 +0000 (11:38 +0000)
committerSteven Whitehouse <steve@dolmen.chygwyn.com>
Tue, 24 Mar 2009 11:31:30 +0000 (11:31 +0000)
This removes some old code that was causing issues during
filesystem freeze.

Reported-by: Andrew Price <andy@andrewprice.me.uk>
Tested-by: Andrew Price <andy@andrewprice.me.uk>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/super.c

index 7cf302b135ce2fcb0f9ed3d6e06e6b560e944741..601913e0a482901099ebb495b230df8f7805cd92 100644 (file)
@@ -338,7 +338,6 @@ static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp,
                                    struct gfs2_holder *t_gh)
 {
        struct gfs2_inode *ip;
-       struct gfs2_holder ji_gh;
        struct gfs2_jdesc *jd;
        struct lfcc *lfcc;
        LIST_HEAD(list);
@@ -386,7 +385,6 @@ out:
                gfs2_glock_dq_uninit(&lfcc->gh);
                kfree(lfcc);
        }
-       gfs2_glock_dq_uninit(&ji_gh);
        return error;
 }