diff options
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 96b9e9c30630..4bad32dd4b3b 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -633,7 +633,6 @@ int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask) | |||
633 | __delete_from_page_cache(old, NULL); | 633 | __delete_from_page_cache(old, NULL); |
634 | error = page_cache_tree_insert(mapping, new, NULL); | 634 | error = page_cache_tree_insert(mapping, new, NULL); |
635 | BUG_ON(error); | 635 | BUG_ON(error); |
636 | mapping->nrpages++; | ||
637 | 636 | ||
638 | /* | 637 | /* |
639 | * hugetlb pages do not participate in page cache accounting. | 638 | * hugetlb pages do not participate in page cache accounting. |