diff options
author | Brian Foster <bfoster@redhat.com> | 2012-03-07 14:56:19 -0500 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-03-14 02:16:36 -0700 |
commit | 61a550b77b776145d45025467f3fa6e9040bc2e0 (patch) | |
tree | e2ac804fb65217f43cd8f55f29865231da7187d0 /cli/src/cli-rpc-ops.c | |
parent | fa5b0347193f8d1a4b917a2edb338423cb175e66 (diff) |
system/posix-acl: fix acl inode assignment in posix_acl_readdirp_cbk
If an entry includes no ACL returned via dictionary, it is possible
to skip down to acl_set without updating acl_access and/or
acl_default. If either are set from the previous iteration, the
unrelated ACLs are set to the current entry. Use a single set of
pointers to ensure that valid ACLs are always set.
Change-Id: Ia94887ded91845bc39d4d5e95ef00d190681e517
BUG: 801183
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-on: http://review.gluster.com/2903
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'cli/src/cli-rpc-ops.c')
0 files changed, 0 insertions, 0 deletions