From: Matt Fleming Date: Tue, 5 Mar 2013 12:46:30 +0000 (+0000) Subject: efivarfs: return accurate error code in efivarfs_fill_super() X-Git-Tag: v3.9-rc2~14^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feff5dc4f98330d8152b521acc2e18c16712e6c8;p=pandora-kernel.git efivarfs: return accurate error code in efivarfs_fill_super() Joseph was hitting a failure case when mounting efivarfs which resulted in an incorrect error message, $ sudo mount -v /sys/firmware/efi/efivars mount: Cannot allocate memory triggered when efivarfs_valid_name() returned -EINVAL. Make sure we pass accurate return values up the stack if efivarfs_fill_super() fails to build inodes for EFI variables. Reported-by: Joseph Yasi Reported-by: Lingzhu Xiang Cc: Josh Boyer Cc: Jeremy Kerr Cc: Matthew Garrett Cc: # v3.8 Signed-off-by: Matt Fleming --- Reading git-diff-tree failed