diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2010-03-30 16:50:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 09:37:31 -0700 |
commit | ba514a57f5c38d9d79ea15e75059e07f49238726 (patch) | |
tree | 88a3c7cff6c2db84b0013b3e38ae550dee0f3127 /fs/sysfs | |
parent | 9e7fdd25b21ebf50713dfb7702af57c270e5572a (diff) | |
download | kernel_samsung_espresso10-ba514a57f5c38d9d79ea15e75059e07f49238726.zip kernel_samsung_espresso10-ba514a57f5c38d9d79ea15e75059e07f49238726.tar.gz kernel_samsung_espresso10-ba514a57f5c38d9d79ea15e75059e07f49238726.tar.bz2 |
sysfs: Remove double free sysfs_get_sb
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs')
-rw-r--r-- | fs/sysfs/mount.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index db0b1f2..50e4fb6 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; } |