diff options
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 2f76c4a081a2..fca43d4d7bf4 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -590,7 +590,7 @@ static inline bool over_bground_thresh(void) | |||
590 | { | 590 | { |
591 | unsigned long background_thresh, dirty_thresh; | 591 | unsigned long background_thresh, dirty_thresh; |
592 | 592 | ||
593 | get_dirty_limits(&background_thresh, &dirty_thresh, NULL, NULL); | 593 | global_dirty_limits(&background_thresh, &dirty_thresh); |
594 | 594 | ||
595 | return (global_page_state(NR_FILE_DIRTY) + | 595 | return (global_page_state(NR_FILE_DIRTY) + |
596 | global_page_state(NR_UNSTABLE_NFS) >= background_thresh); | 596 | global_page_state(NR_UNSTABLE_NFS) >= background_thresh); |