diff options
author | Pavan Sondur <pavan@gluster.com> | 2010-05-27 04:38:45 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-27 08:18:28 -0700 |
commit | 49116597598fbb793286e72b52b5c79e4db31943 (patch) | |
tree | aac9af30d6ab1714599defbddcbfe7cd593f8dc4 /xlators | |
parent | 3bd7269c9390db1fa57ac08106d97dc9981e9a85 (diff) |
protocol/server: Use EBADFD instead of EBADF in the case of a failed fd resolution.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 952 (EBADF returned by server-protocol confuses AFR)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=952
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/protocol/server/src/server-resolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-resolve.c b/xlators/protocol/server/src/server-resolve.c index 89c6cf0ef..d2e11a095 100644 --- a/xlators/protocol/server/src/server-resolve.c +++ b/xlators/protocol/server/src/server-resolve.c @@ -533,7 +533,7 @@ server_resolve_fd (call_frame_t *frame) if (!state->fd) { resolve->op_ret = -1; - resolve->op_errno = EBADF; + resolve->op_errno = EBADFD; } server_resolve_all (frame); |