summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2017-10-10 18:52:57 +0530
committerAmar Tumballi <amarts@redhat.com>2017-11-29 08:51:59 +0000
commit01aa87e20490769f1a45f724b6985f6a90ca2b13 (patch)
tree593b60689a260a95db5c72851722344a1ac30bb6 /xlators/features
parente05d8eb96b9f06c39660caa9a613d6064f46f3f2 (diff)
features/bitrot: Add default value for stub export option
Updates #302 Change-Id: Ife78e15ad6300f09a820cbc25f43f214dc5e611d Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/bit-rot/src/stub/bit-rot-stub.c3
1 files changed, 2 insertions, 1 deletions
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 035269af3ef..f2ee1950002 100644
--- a/xlators/features/bit-rot/src/stub/bit-rot-stub.c
+++ b/xlators/features/bit-rot/src/stub/bit-rot-stub.c
@@ -3513,7 +3513,8 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_PATH,
.op_version = {GD_OP_VERSION_3_7_0},
.tags = {"bitrot"},
- .description = "brick path for versioning"
+ .description = "brick path for versioning",
+ .default_value = "{{ brick.path }}"
},
{ .key = {NULL} },
};