efivarfs: efivarfs_fill_super() fix inode reference counts
authorAndy Whitcroft <apw@canonical.com>
Thu, 11 Oct 2012 10:32:19 +0000 (11:32 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 30 Oct 2012 10:39:22 +0000 (10:39 +0000)
commit5c9b50ab8ca962bc085cfb49bae947910d73f794
tree48fb43e7b68aa3bd6597774f8569cd846af7dcd1
parent45a937a883c4411648b80e87341b237cc48009c1
efivarfs: efivarfs_fill_super() fix inode reference counts

When d_make_root() fails it will automatically drop the reference
on the root inode.  We should not be doing so as well.

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