diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2018-09-29 11:58:42 +0800 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-10-22 06:04:46 +0000 |
commit | 9eab065769d4b4fd41821232746fb8f1235bead4 (patch) | |
tree | 23dce251ab6b1547bedb176464f0a3e2d83bc0db /xlators/storage/posix/src/posix-inode-fd-ops.c | |
parent | 826e03db0903abab852bda37d6d77f3dd0f83cc6 (diff) |
posix: fill glusterfs.posix.* acl xattrs at dict
Change-Id: I0730a037f96c4386c72ecf2f61c71ec17ffbc1b0
Updates: bz#1634220
Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-inode-fd-ops.c')
-rw-r--r-- | xlators/storage/posix/src/posix-inode-fd-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix-inode-fd-ops.c b/xlators/storage/posix/src/posix-inode-fd-ops.c index 0c15a0100e4..ce73737d3ae 100644 --- a/xlators/storage/posix/src/posix-inode-fd-ops.c +++ b/xlators/storage/posix/src/posix-inode-fd-ops.c @@ -3015,7 +3015,7 @@ posix_getxattr(call_frame_t *frame, xlator_t *this, loc_t *loc, } if (loc->inode && name && GF_POSIX_ACL_REQUEST(name)) { - ret = posix_pacl_get(real_path, name, &value); + ret = posix_pacl_get(real_path, -1, name, &value); if (ret || !value) { op_errno = errno; gf_msg(this->name, GF_LOG_WARNING, errno, P_MSG_ACL_FAILED, |