]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
efivarfs: efivarfs_fill_super() ensure we clean up correctly on error
authorAndy Whitcroft <apw@canonical.com>
Thu, 11 Oct 2012 10:32:21 +0000 (11:32 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 30 Oct 2012 10:39:23 +0000 (10:39 +0000)
commit5ba6e2919b9e18a051e5bdd6c21f52ee4976513f
tree3596645096f15d3b9423fa67cc3421f3f72458cd
parentc0359db1a1c484ea810f4d5a877d3b00d107908b
efivarfs: efivarfs_fill_super() ensure we clean up correctly on error

Ensure we free both the name and inode on error when building the
individual variables.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efivars.c