Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132258
b: refs/heads/master
c: 020fe22
h: refs/heads/master
v: v3
  • Loading branch information
Enrik Berkhan authored and Linus Torvalds committed Mar 14, 2009
1 parent 7d38729 commit b1a2019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 041b62374c7fedc11a8a1eeda2868612d3d1436c
refs/heads/master: 020fe22ff14320927f394de222cbb11708bcc7a8
3 changes: 3 additions & 0 deletions trunk/fs/ramfs/file-nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize)
if (!pagevec_add(&lru_pvec, page))
__pagevec_lru_add_file(&lru_pvec);

/* prevent the page from being discarded on memory pressure */
SetPageDirty(page);

unlock_page(page);
}

Expand Down

0 comments on commit b1a2019

Please sign in to comment.