diff options
author | Amar Tumballi <amarts@redhat.com> | 2013-09-06 14:50:35 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-01-27 07:50:21 -0800 |
commit | 0d739e788dddd591a015921991c3112400f3d3a1 (patch) | |
tree | ccc92a3957d0ea6f6b4404dced654525be85d4c2 /xlators/features/gfid-access/src/gfid-access.h | |
parent | 3744b1dfe3baedfd2f210edd7680454a5e32296f (diff) |
gfid-access: do chown() after creating the new entries.
changing the 'frame->root->uid' on the fly is not a good idea as
posix-acl xlator on brick process would fail the op.
Change-Id: I996b43e4ce6efb04f52949976339dad6eb89bede
Signed-off-by: Amar Tumballi <amarts@redhat.com>
BUG: 847839
Reviewed-on: http://review.gluster.org/5833
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/6801
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/gfid-access/src/gfid-access.h')
-rw-r--r-- | xlators/features/gfid-access/src/gfid-access.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/features/gfid-access/src/gfid-access.h b/xlators/features/gfid-access/src/gfid-access.h index e13c9b724..3b74ce112 100644 --- a/xlators/features/gfid-access/src/gfid-access.h +++ b/xlators/features/gfid-access/src/gfid-access.h @@ -125,4 +125,12 @@ struct ga_private { }; typedef struct ga_private ga_private_t; +struct __ga_local { + call_frame_t *orig_frame; + unsigned int uid; + unsigned int gid; + loc_t loc; +}; +typedef struct __ga_local ga_local_t; + #endif /* __GFID_ACCESS_H__ */ |