diff options
author | Kaushal M <kaushal@redhat.com> | 2016-11-18 15:32:08 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2016-11-18 15:32:08 +0530 |
commit | 94ba6c9995d3122f31cad2f4993ab07cd6ae7063 (patch) | |
tree | 6d5612c63e43da29ac19ff8c28377bd99a8ff9a4 /xlators/system/posix-acl/src/posix-acl.c | |
parent | c11131fcdf47c4f0144b0ee1709e8c4bb05dac08 (diff) | |
parent | a4ecc73a5cd7029dd5ad4a8545a4ec41365ffce9 (diff) |
Merge remote-tracking branch 'origin/release-3.7' into release-3.7
Due to a mistake done when tagging and pushing v3.7.17, v3.7.17 and
release-3.7 divereged, leaving the release-3.7 branch without the
v3.7.17 commit and tag. This merge resolves the divergence.
More information can about this is available in [1].
[1]: https://www.gluster.org/pipermail/maintainers/2016-November/001746.html
Diffstat (limited to 'xlators/system/posix-acl/src/posix-acl.c')
-rw-r--r-- | xlators/system/posix-acl/src/posix-acl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/system/posix-acl/src/posix-acl.c b/xlators/system/posix-acl/src/posix-acl.c index 4841c7cb939..80cbbef09db 100644 --- a/xlators/system/posix-acl/src/posix-acl.c +++ b/xlators/system/posix-acl/src/posix-acl.c @@ -874,6 +874,9 @@ posix_acl_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, ret = posix_acl_get (inode, this, &old_access, &old_default); + if (xattr == NULL) + goto acl_set; + data = dict_get (xattr, POSIX_ACL_ACCESS_XATTR); if (!data) goto acl_default; |