diff options
-rw-r--r-- | mm/page-writeback.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 17403e3a7c89..50f08241f981 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -989,8 +989,7 @@ static unsigned long bdi_max_pause(struct backing_dev_info *bdi, | |||
989 | * | 989 | * |
990 | * 8 serves as the safety ratio. | 990 | * 8 serves as the safety ratio. |
991 | */ | 991 | */ |
992 | if (bdi_dirty) | 992 | t = min(t, bdi_dirty * HZ / (8 * bw + 1)); |
993 | t = min(t, bdi_dirty * HZ / (8 * bw + 1)); | ||
994 | 993 | ||
995 | /* | 994 | /* |
996 | * The pause time will be settled within range (max_pause/4, max_pause). | 995 | * The pause time will be settled within range (max_pause/4, max_pause). |