projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7fdd2
)
sysfs: Remove double free sysfs_get_sb
author
Eric W. Biederman
<ebiederm@xmission.com>
Tue, 30 Mar 2010 23:50:26 +0000
(16:50 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 21 May 2010 16:37:31 +0000
(09:37 -0700)
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/mount.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/sysfs/mount.c
b/fs/sysfs/mount.c
index db0b1f2138af94e58dd6e8796863c08d1955b52d..50e4fb6a7403d27dd5c19a34a35c3d12373c704b 100644
(file)
--- 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;
}