diff options
author | 2013-03-05 12:46:30 +0000 | |
---|---|---|
committer | 2013-03-06 14:46:30 +0000 | |
commit | feff5dc4f98330d8152b521acc2e18c16712e6c8 (patch) | |
tree | 9d4180eb62dcb4f1d111acc3c1e000e82c80b1f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | efivars: efivarfs_valid_name() should handle pstore syntax (diff) | |
download | linux-dev-feff5dc4f98330d8152b521acc2e18c16712e6c8.tar.xz linux-dev-feff5dc4f98330d8152b521acc2e18c16712e6c8.zip |
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 <joe.yasi@gmail.com>
Reported-by: Lingzhu Xiang <lxiang@redhat.com>
Cc: Josh Boyer <jwboyer@redhat.com>
Cc: Jeremy Kerr <jk@ozlabs.org>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: <stable@vger.kernel.org> # v3.8
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions