diff options
Diffstat (limited to 'xlators/features/bit-rot/src/bitd/bit-rot-scrub.c')
| -rw-r--r-- | xlators/features/bit-rot/src/bitd/bit-rot-scrub.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c b/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c index 9f865f121c7..47d1d262b5f 100644 --- a/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c +++ b/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c @@ -1041,7 +1041,7 @@ _br_scrubber_find_scrubbable_entry (struct br_scrubber *fsscrub,          br_child_t *firstchild = NULL;          while (1) { -                if (list_empty (&fsscrub->scrublist)) +                while (list_empty (&fsscrub->scrublist))                          pthread_cond_wait (&fsscrub->cond, &fsscrub->mutex);                  firstchild = NULL;  | 
