diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-01-04 17:53:52 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-01-04 18:22:11 -0500 |
commit | 3c726023402a2f3b28f49b9d90ebf9e71151157d (patch) | |
tree | 434ee06a662815327c8bd34aaf7b5258994dc033 /fs/nfsd/nfsproc.c | |
parent | 775a1905e1e042e830eae31e70efec9387eb3e1d (diff) |
nfsd4: return nfs errno from name_to_id functions
This avoids the need for the confusing ESRCH mapping.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsproc.c')
-rw-r--r-- | fs/nfsd/nfsproc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c index 8f05dcd0bf85..e15dc45fc5ec 100644 --- a/fs/nfsd/nfsproc.c +++ b/fs/nfsd/nfsproc.c | |||
@@ -738,7 +738,6 @@ nfserrno (int errno) | |||
738 | { nfserr_jukebox, -EAGAIN }, | 738 | { nfserr_jukebox, -EAGAIN }, |
739 | { nfserr_jukebox, -EWOULDBLOCK }, | 739 | { nfserr_jukebox, -EWOULDBLOCK }, |
740 | { nfserr_jukebox, -ENOMEM }, | 740 | { nfserr_jukebox, -ENOMEM }, |
741 | { nfserr_badowner, -ESRCH }, | ||
742 | { nfserr_io, -ETXTBSY }, | 741 | { nfserr_io, -ETXTBSY }, |
743 | { nfserr_notsupp, -EOPNOTSUPP }, | 742 | { nfserr_notsupp, -EOPNOTSUPP }, |
744 | { nfserr_toosmall, -ETOOSMALL }, | 743 | { nfserr_toosmall, -ETOOSMALL }, |