diff options
Diffstat (limited to 'xlators/protocol/client/src/client-handshake.c')
| -rw-r--r-- | xlators/protocol/client/src/client-handshake.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index b18d3a27e7e..fc8ed21b0be 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -597,7 +597,7 @@ protocol_client_reopendir (xlator_t *this, clnt_fd_ctx_t *fdctx)          conf = this->private;          ret = inode_path (inode, NULL, &path); -        if (ret < 0) { +        if (ret <= 0) {                  gf_log (this->name, GF_LOG_WARNING,                          "couldn't build path from inode %s",                          uuid_utoa (inode->gfid)); @@ -677,7 +677,7 @@ protocol_client_reopen (xlator_t *this, clnt_fd_ctx_t *fdctx)          conf  = this->private;          ret = inode_path (inode, NULL, &path); -        if (ret < 0) { +        if (ret <= 0) {                  gf_log (this->name, GF_LOG_WARNING,                          "couldn't build path from inode %s",                          uuid_utoa (inode->gfid));  | 
