summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-03-23 11:38:55 +0000
committerSteven Whitehouse <steve@dolmen.chygwyn.com>2009-03-24 11:31:30 +0000
commitdf3647b24510e23523f81a77bb179cd9ae3d613b (patch)
tree6b635871b4dc99a8bbbfa704dad981922805422f
parent9c538837d844574787c95bd5665f684559fb7065 (diff)
downloadlinux-df3647b24510e23523f81a77bb179cd9ae3d613b.tar.gz
linux-df3647b24510e23523f81a77bb179cd9ae3d613b.tar.bz2
linux-df3647b24510e23523f81a77bb179cd9ae3d613b.zip
GFS2: Fix freeze issue
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>
-rw-r--r--fs/gfs2/super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 7cf302b135ce..601913e0a482 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;
}