summaryrefslogtreecommitdiffstats
path: root/doc/xlators
diff options
context:
space:
mode:
authorRajesh Joseph <rjoseph@redhat.com>2016-11-03 14:21:28 +0530
committerRaghavendra Talur <rtalur@redhat.com>2016-11-09 11:17:36 -0800
commit6c7e87cd2871ee2db0519a4598f6d15bbf3df5d2 (patch)
treeff88ed038778892c8f35c800f1ab362129d344ac /doc/xlators
parentc5d2002ac2e68dc8aa7d54a32e9bd441b9b8bcfa (diff)
posix-acl: check dictionary before using it
If extended attributes are not present in md-cache it returns NULL as xattr. posix acl xlator should check for NULL before using xattr. If normal and default ACLs are not set on file then md-cache will not contain system.posix_acl_access and system.posix_acl_default extended attributes in its cache. Therefore posix_acl_lookup_cbk should check xattr before using it, otherwise the logs will get filled with dictionary errors. > Reviewed-on: http://review.gluster.org/15769 > Reviewed-by: Raghavendra Talur <rtalur@redhat.com> > Smoke: Gluster Build System <jenkins@build.gluster.org> > Reviewed-by: jiffin tony Thottan <jthottan@redhat.com> > NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> > Reviewed-by: Vijay Bellur <vbellur@redhat.com> > CentOS-regression: Gluster Build System <jenkins@build.gluster.org> (cherry picked from commit de7fe24663713fff364cfc2b52b675e3e979ee68) Change-Id: Icebf73cf0b313bd3e82ca8cbda63786dd0fa47da BUG: 1392867 Signed-off-by: Rajesh Joseph <rjoseph@redhat.com> Reviewed-on: http://review.gluster.org/15798 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'doc/xlators')
0 files changed, 0 insertions, 0 deletions