diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-scrub-svc.c')
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-scrub-svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-scrub-svc.c b/xlators/mgmt/glusterd/src/glusterd-scrub-svc.c index bd1ed390f46..9b72053e89c 100644 --- a/xlators/mgmt/glusterd/src/glusterd-scrub-svc.c +++ b/xlators/mgmt/glusterd/src/glusterd-scrub-svc.c @@ -74,7 +74,7 @@ glusterd_scrubsvc_manager (glusterd_svc_t *svc, void *data, int flags) { int ret = -EINVAL; - if (glusterd_all_volumes_with_bitrot_stopped ()) { + if (glusterd_should_i_stop_bitd ()) { ret = svc->stop (svc, SIGTERM); } else { ret = glusterd_scrubsvc_create_volfile (); |
