From 340e58f9b3bcdfe4314da65e592dcd5c2daf6fd9 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 28 Nov 2018 10:05:39 +0530 Subject: all: add xlator_api to many translators Fixes: #164 Change-Id: I93ad6f0232a1dc534df099059f69951e1339086f Signed-off-by: Amar Tumballi --- xlators/features/selinux/src/selinux.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'xlators/features/selinux') diff --git a/xlators/features/selinux/src/selinux.c b/xlators/features/selinux/src/selinux.c index d47521d55a7..58b4c5d4503 100644 --- a/xlators/features/selinux/src/selinux.c +++ b/xlators/features/selinux/src/selinux.c @@ -310,3 +310,16 @@ struct volume_options options[] = { { .key = {NULL}, }}; + +xlator_api_t xlator_api = { + .init = init, + .fini = fini, + .reconfigure = reconfigure, + .mem_acct_init = mem_acct_init, + .op_version = {1}, /* Present from the initial version */ + .fops = &fops, + .cbks = &cbks, + .options = options, + .identifier = "selinux", + .category = GF_MAINTAINED, +}; -- cgit