summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-set.c
diff options
context:
space:
mode:
authorGaurav Kumar Garg <ggarg@redhat.com>2015-05-27 14:36:24 +0530
committerVenky Shankar <vshankar@redhat.com>2015-06-05 05:03:48 -0700
commite2fc345edcf393969c4ff2c6a5b0bead2bf51d5d (patch)
tree1151d9536e1e8d8a130a0d86971b7b39d15d6494 /xlators/mgmt/glusterd/src/glusterd-volume-set.c
parentae87a7fedfcf7f6b287ef5c3860f45412363e4f6 (diff)
bitrot/glusterd: scrub option should be disabled once bitrot option is reset
Scrubber options should be disabled from the dictionary if user reset bitrot option. Change-Id: Ic7e390cf88b9b749f0ada8bbd4632f4cc0c4aff9 BUG: 1228045 Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com> Reviewed-on: http://review.gluster.org/10936 Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Venky Shankar <vshankar@redhat.com> (cherry picked from commit 79d8916929f7d5b85a09ae9b75eadf945a3e11fb) Reviewed-on: http://review.gluster.org/11079 Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 65cbfc0eb48..9b9f5441e76 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1857,6 +1857,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
.voltype = "features/bitrot",
.option = "scrubber",
.op_version = GD_OP_VERSION_3_7_0,
+ .flags = OPT_FLAG_FORCE,
.type = NO_DOC,
},
/* Upcall translator options */