No need to check MIN_FILECNT_LOOKAHEAD w/extra_flist_sending_enabled.
authorWayne Davison <wayned@samba.org>
Sat, 14 Nov 2009 17:58:25 +0000 (09:58 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 14 Nov 2009 17:58:25 +0000 (09:58 -0800)
io.c

diff --git a/io.c b/io.c
index 284e457..413557a 100644 (file)
--- a/io.c
+++ b/io.c
@@ -676,8 +676,7 @@ static char *perform_io(size_t needed, int flags)
                }
 
                if (extra_flist_sending_enabled) {
-                       if (file_total - file_old_total < MAX_FILECNT_LOOKAHEAD
-                        && file_total - file_old_total >= MIN_FILECNT_LOOKAHEAD)
+                       if (file_total - file_old_total < MAX_FILECNT_LOOKAHEAD)
                                tv.tv_sec = 0;
                        else {
                                extra_flist_sending_enabled = False;