diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 422cf4edab47..936dc7b61dc6 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -1160,7 +1160,7 @@ static void balance_dirty_pages(struct address_space *mapping, | |||
1160 | bdi_stat(bdi, BDI_WRITEBACK); | 1160 | bdi_stat(bdi, BDI_WRITEBACK); |
1161 | } | 1161 | } |
1162 | 1162 | ||
1163 | dirty_exceeded = (bdi_dirty > bdi_thresh) || | 1163 | dirty_exceeded = (bdi_dirty > bdi_thresh) && |
1164 | (nr_dirty > dirty_thresh); | 1164 | (nr_dirty > dirty_thresh); |
1165 | if (dirty_exceeded && !bdi->dirty_exceeded) | 1165 | if (dirty_exceeded && !bdi->dirty_exceeded) |
1166 | bdi->dirty_exceeded = 1; | 1166 | bdi->dirty_exceeded = 1; |