aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorMatt Fleming <[email protected]>2013-03-05 12:46:30 +0000
committerMatt Fleming <[email protected]>2013-03-06 14:46:30 +0000
commitfeff5dc4f98330d8152b521acc2e18c16712e6c8 (patch)
tree9d4180eb62dcb4f1d111acc3c1e000e82c80b1f6 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent123abd76edf56c02a76b46d3d673897177ef067b (diff)
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 <[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]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions