diff options
author | NeilBrown <neilb@suse.com> | 2016-08-04 10:19:06 +1000 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-10-06 09:07:44 -0400 |
commit | 09bb8bfffd29c3dffb72bc2c69a062dfb1ae624c (patch) | |
tree | 44c4f7a56072f73b85088225a408a91bdb33b567 /scripts/diffconfig | |
parent | 7d22fc11c7edeeac6f1c3f1ae0edcef4de08c6e0 (diff) |
exportfs: be careful to only return expected errors.
When nfsd calls fh_to_dentry, it expect ESTALE or ENOMEM as errors.
In particular it can be tempting to return ENOENT, but this is not
handled well by nfsd.
Rather than requiring strict adherence to error code code filesystems,
treat all unexpected error codes the same as ESTALE. This is safest.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions