diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-07-03 21:15:54 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-10 02:55:03 +0200 |
commit | 62814d6a9bca1de4eb69cee161e01e0f670b486d (patch) | |
tree | a5d58917c4dac4690c9a13b3f0701d64e02bb6cf /kernel/irq | |
parent | nfsd: properly convert return from commit_metadata to __be32 (diff) | |
download | linux-62814d6a9bca1de4eb69cee161e01e0f670b486d.tar.xz linux-62814d6a9bca1de4eb69cee161e01e0f670b486d.zip |
nfsd: add a nfserrno mapping for -E2BIG to nfserr_fbig
I saw this pop up with some pynfs testing:
[ 123.609992] nfsd: non-standard errno: -7
...and -7 is -E2BIG. I think what happened is that XFS returned -E2BIG
due to some xattr operations with the ACL10 pynfs TEST (I guess it has
limited xattr size?).
Add a better mapping for that error since it's possible that we'll need
it. How about we convert it to NFSERR_FBIG? As Bruce points out, they
both have "BIG" in the name so it must be good.
Also, turn the printk in this function into a WARN() so that we can get
a bit more information about situations that don't have proper mappings.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions