diff options
Diffstat (limited to 'xlators/storage')
| -rw-r--r-- | xlators/storage/posix/src/posix-inode-fd-ops.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix-inode-fd-ops.c b/xlators/storage/posix/src/posix-inode-fd-ops.c index 4311478766c..cf74327e1f5 100644 --- a/xlators/storage/posix/src/posix-inode-fd-ops.c +++ b/xlators/storage/posix/src/posix-inode-fd-ops.c @@ -2960,7 +2960,7 @@ posix_xattr_get_real_filename(call_frame_t *frame, xlator_t *this, loc_t *loc,      (void)sys_closedir(fd);      if (!found) -        return -ENOENT; +        return -ENOATTR;      ret = dict_set_dynstr(dict, (char *)key, found);      if (ret) { @@ -3428,7 +3428,7 @@ posix_getxattr(call_frame_t *frame, xlator_t *this, loc_t *loc,          if (ret < 0) {              op_ret = -1;              op_errno = -ret; -            if (op_errno == ENOENT) { +            if (op_errno == ENOATTR) {                  gf_msg_debug(this->name, 0,                               "Failed to get "                               "real filename (%s, %s)",  | 
