From 2bfe2cec0c0832b703f0da472ad6584f9d8898e2 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Thu, 31 Aug 2017 07:06:28 -0400 Subject: feature/bitrot: stub xlators opts for GD2 Updates #302 Change-Id: I320eabf0c83295e90a312316a8373ccf5bf91dc4 Signed-off-by: Kotresh HR --- xlators/features/bit-rot/src/stub/bit-rot-stub.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xlators/features/bit-rot/src/stub/bit-rot-stub.c b/xlators/features/bit-rot/src/stub/bit-rot-stub.c index 8571789540f..035269af3ef 100644 --- a/xlators/features/bit-rot/src/stub/bit-rot-stub.c +++ b/xlators/features/bit-rot/src/stub/bit-rot-stub.c @@ -3504,10 +3504,15 @@ struct volume_options options[] = { { .key = {"bitrot"}, .type = GF_OPTION_TYPE_BOOL, .default_value = "off", + .op_version = {GD_OP_VERSION_3_7_0}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_FORCE, + .tags = {"bitrot"}, .description = "enable/disable bitrot stub" }, { .key = {"export"}, .type = GF_OPTION_TYPE_PATH, + .op_version = {GD_OP_VERSION_3_7_0}, + .tags = {"bitrot"}, .description = "brick path for versioning" }, { .key = {NULL} }, -- cgit