mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
sysfs: Remove double free sysfs_get_sb
Signed-off-by: Eric W. Biederman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
9e7fdd25b2
commit
ba514a57f5
1 changed files with 0 additions and 1 deletions
|
|
@ -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 a new issue