summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4client.c
diff options
context:
space:
mode:
authorLingzhu Xiang <lxiang@redhat.com>2013-05-10 12:29:21 +0200
committerMatt Fleming <matt.fleming@intel.com>2013-05-13 21:12:10 +0200
commit3fab70c165795431f00ddf9be8b84ddd07bd1f8f (patch)
treec36c7f153e911824448946f286bff35af6bc6a6e /fs/nfs/nfs4client.c
parentLinux 3.10-rc1 (diff)
downloadlinux-3fab70c165795431f00ddf9be8b84ddd07bd1f8f.tar.xz
linux-3fab70c165795431f00ddf9be8b84ddd07bd1f8f.zip
efivarfs: Never return ENOENT from firmware again
Previously in 1fa7e69 efi_status_to_err() translated firmware status EFI_NOT_FOUND to -EIO instead of -ENOENT for efivarfs operations to avoid confusion. After refactoring in e14ab23, it is also used in other places where the translation may be unnecessary. So move the translation to efivarfs specific code. Also return EOF for reading zero-length files, which is what users would expect. Cc: Josh Boyer <jwboyer@redhat.com> Cc: Jeremy Kerr <jk@ozlabs.org> Cc: Lee, Chun-Yi <jlee@suse.com> Cc: Andy Whitcroft <apw@canonical.com> Signed-off-by: Lingzhu Xiang <lxiang@redhat.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'fs/nfs/nfs4client.c')
0 files changed, 0 insertions, 0 deletions