From 11b4f3aedfacf2cb29c409765936940271329e73 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 6 Sep 2013 14:50:35 +0530 Subject: 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 BUG: 847839 Reviewed-on: http://review.gluster.org/5833 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/features/gfid-access/src/gfid-access.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xlators/features/gfid-access/src/gfid-access.h') diff --git a/xlators/features/gfid-access/src/gfid-access.h b/xlators/features/gfid-access/src/gfid-access.h index e13c9b7240b..3b74ce1121a 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__ */ -- cgit