From: Eric W. Biederman Date: Tue, 30 Mar 2010 23:50:26 +0000 (-0700) Subject: sysfs: Remove double free sysfs_get_sb X-Git-Tag: v2.6.35-rc1~459^2~19 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=ba514a57f5c38d9d79ea15e75059e07f49238726;p=linux.git sysfs: Remove double free sysfs_get_sb Signed-off-by: Eric W. Biederman Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index db0b1f2138af..50e4fb6a7403 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c @@ -104,7 +104,6 @@ static int sysfs_get_sb(struct file_system_type *fs_type, if (IS_ERR(sb) || sb->s_fs_info != info) kfree(info); if (IS_ERR(sb)) { - kfree(info); error = PTR_ERR(sb); goto out; }