Commit df3647b2 authored by Steven Whitehouse's avatar Steven Whitehouse Committed by Steven Whitehouse

GFS2: Fix freeze issue

This removes some old code that was causing issues during
filesystem freeze.
Reported-by: default avatarAndrew Price <andy@andrewprice.me.uk>
Tested-by: default avatarAndrew Price <andy@andrewprice.me.uk>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 9c538837
......@@ -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 @@ static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp,
gfs2_glock_dq_uninit(&lfcc->gh);
kfree(lfcc);
}
gfs2_glock_dq_uninit(&ji_gh);
return error;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment