summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index b7c7bd9b638..131bdd394e5 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -4283,7 +4283,8 @@ client_graph_builder(volgen_graph_t *graph, glusterd_volinfo_t *volinfo,
}
}
- if (conf->op_version >= GD_OP_VERSION_5_0) {
+ if (conf->op_version >= GD_OP_VERSION_5_0 &&
+ !dict_get_str_boolean(set_dict, "features.ctime", _gf_false)) {
xl = volgen_graph_add(graph, "features/utime", volname);
if (!xl) {
ret = -1;