From 3f43518c103e453d4ab33b4dd771a4e0dc6e7326 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Thu, 19 Oct 2006 15:13:26 +0200 Subject: [PATCH] --- yaml --- r: 40069 b: refs/heads/master c: b0cb66955f4bf7a72b544096ceef48a829361a3c h: refs/heads/master i: 40067: ceeeb70ae57b0be2e02725e0234be25c4b189b54 v: v3 --- [refs] | 2 +- trunk/fs/gfs2/ops_fstype.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index be4f4b264aff..d925c4cc40a8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: abbdbd2065e74411dc2c401501c2c85a82f60e06 +refs/heads/master: b0cb66955f4bf7a72b544096ceef48a829361a3c diff --git a/trunk/fs/gfs2/ops_fstype.c b/trunk/fs/gfs2/ops_fstype.c index 178b33911843..e99444dffeb8 100644 --- a/trunk/fs/gfs2/ops_fstype.c +++ b/trunk/fs/gfs2/ops_fstype.c @@ -854,7 +854,6 @@ static int gfs2_get_sb_meta(struct file_system_type *fs_type, int flags, int error = 0; struct super_block *sb = NULL, *new; struct gfs2_sbd *sdp; - char *gfs2mnt = NULL; sb = get_gfs2_sb(dev_name); if (!sb) { @@ -892,8 +891,6 @@ static int gfs2_get_sb_meta(struct file_system_type *fs_type, int flags, atomic_inc(&sdp->sd_gfs2mnt->mnt_count); return simple_set_mnt(mnt, new); error: - if (gfs2mnt) - kfree(gfs2mnt); return error; }