aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ramfs')
-rw-r--r--fs/ramfs/file-nommu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c
index 90d72bead55b..5d7c7ececa64 100644
--- a/fs/ramfs/file-nommu.c
+++ b/fs/ramfs/file-nommu.c
@@ -129,6 +129,7 @@ int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize)
129 return -EFBIG; 129 return -EFBIG;
130 130
131 add_error: 131 add_error:
132 pagevec_lru_add_file(&lru_pvec);
132 page_cache_release(pages + loop); 133 page_cache_release(pages + loop);
133 for (loop++; loop < npages; loop++) 134 for (loop++; loop < npages; loop++)
134 __free_page(pages + loop); 135 __free_page(pages + loop);