Prev: [PATCH 20/38] kobj: Add basic infrastructure for dealing with namespaces.
Next: [PATCH 23/38] sysfs: Implement sysfs_delete_link
From: Greg Kroah-Hartman on 21 May 2010 13:00 From: Eric W. Biederman <ebiederm(a)xmission.com> Signed-off-by: Eric W. Biederman <ebiederm(a)aristanetworks.com> Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de> --- 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; } -- 1.7.0.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |