[Cluster-devel] [GFS2] Fix freeze issue

Steven Whitehouse swhiteho at redhat.com
Mon Mar 23 12:51:21 UTC 2009


>From 6dc472c0908e403c7b8dfe2548eb3c660820f140 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <swhiteho at redhat.com>
Date: Mon, 23 Mar 2009 11:38:55 +0000
Subject: [PATCH] [GFS2] Fix freeze issue

This removes some old code that was causing issues during
filesystem freeze.

Reported-by: Andrew Price <andy at andrewprice.me.uk>
Tested-by: Andrew Price <andy at andrewprice.me.uk>
Signed-off-by: Steven Whitehouse <swhiteho at redhat.com>

diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 7cf302b..601913e 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -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;
 }
 
-- 
1.6.0.3






More information about the Cluster-devel mailing list