From f9e0638b7597f4b1a4245f63c94d3d6bd3158136 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Mon, 4 Jul 2011 06:32:32 +0000 Subject: nfs: Change NFS3 access op to use access fop This change is needed so that we have a uniform dependence on posix-acl for permission checks as well as ACL checks. Signed-off-by: Shehjar Tikoo Signed-off-by: Anand Avati BUG: 3057 (acl permissions don't work on nfs mount) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3057 --- xlators/nfs/server/src/nfs3-helpers.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xlators/nfs/server/src/nfs3-helpers.h') diff --git a/xlators/nfs/server/src/nfs3-helpers.h b/xlators/nfs/server/src/nfs3-helpers.h index 8fb11ff15..73bb4b720 100644 --- a/xlators/nfs/server/src/nfs3-helpers.h +++ b/xlators/nfs/server/src/nfs3-helpers.h @@ -99,9 +99,7 @@ extern void nfs3_prep_access3args (access3args *args, struct nfs3_fh *fh); extern void -nfs3_fill_access3res (access3res *res, nfsstat3 status, struct iatt *buf, - uint32_t accbits, uid_t uid, gid_t gid, - uint64_t deviceid, gid_t *auxgids, int gids); +nfs3_fill_access3res (access3res *res, nfsstat3 status, int32_t accbits); extern char * nfs3_fhcache_getpath (struct nfs3_state *nfs3, struct nfs3_fh *fh); -- cgit