diff options
author | Krishna Srinivas <ksriniva@redhat.com> | 2012-09-12 12:36:49 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-11-13 23:24:46 -0800 |
commit | 1c4cb5237701bb138f9cce29036773086253f839 (patch) | |
tree | cafdfacc71618962a235a1c25921a72764490c37 /xlators/nfs/server/src/nfs.c | |
parent | ca666417f3e6f500ec75cb7389497e2f5c4bc6e6 (diff) |
ACLv3 - Access Control Lists V3
Change-Id: I43e544d6cdeac5e3880141477461e7c22cbf6e91
BUG: 847622
Signed-off-by: Krishna Srinivas <ksriniva@redhat.com>
Reviewed-on: http://review.gluster.org/4045
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/nfs/server/src/nfs.c')
-rw-r--r-- | xlators/nfs/server/src/nfs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index 033d95213df..8fa69af6b75 100644 --- a/xlators/nfs/server/src/nfs.c +++ b/xlators/nfs/server/src/nfs.c @@ -42,6 +42,7 @@ #include "nfs3-helpers.h" #include "nlm4.h" #include "options.h" +#include "acl3.h" #define OPT_SERVER_AUX_GIDS "nfs.server-aux-gids" #define OPT_SERVER_GID_CACHE_TIMEOUT "nfs.server.aux-gid-timeout" @@ -186,6 +187,13 @@ nfs_add_all_initiators (struct nfs_state *nfs) } } + ret = nfs_add_initer (&nfs->versions, acl3svc_init); + if (ret == -1) { + gf_log (GF_NFS, GF_LOG_ERROR, "Failed to add protocol" + " initializer"); + goto ret; + } + ret = 0; ret: return ret; |