mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 11:03:37 +00:00
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 <[email protected]> Reported-by: Lingzhu Xiang <[email protected]> Cc: Josh Boyer <[email protected]> Cc: Jeremy Kerr <[email protected]> Cc: Matthew Garrett <[email protected]> Cc: <[email protected]> # v3.8 Signed-off-by: Matt Fleming <[email protected]>