mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 12:50:52 +07:00
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>
This commit is contained in:
parent
9e7fdd25b2
commit
ba514a57f5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user