diff options
Diffstat (limited to 'mm/truncate.c')
-rw-r--r-- | mm/truncate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/truncate.c b/mm/truncate.c index 5cdfbc1a59fd..ff78505453d4 100644 --- a/mm/truncate.c +++ b/mm/truncate.c | |||
@@ -72,6 +72,8 @@ void cancel_dirty_page(struct page *page, unsigned int account_size) | |||
72 | struct address_space *mapping = page->mapping; | 72 | struct address_space *mapping = page->mapping; |
73 | if (mapping && mapping_cap_account_dirty(mapping)) { | 73 | if (mapping && mapping_cap_account_dirty(mapping)) { |
74 | dec_zone_page_state(page, NR_FILE_DIRTY); | 74 | dec_zone_page_state(page, NR_FILE_DIRTY); |
75 | dec_bdi_stat(mapping->backing_dev_info, | ||
76 | BDI_RECLAIMABLE); | ||
75 | if (account_size) | 77 | if (account_size) |
76 | task_io_account_cancelled_write(account_size); | 78 | task_io_account_cancelled_write(account_size); |
77 | } | 79 | } |