commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=e399280a0d63431f5dcc6460881e9abb04061557
branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/2012R1

it seems ramfs has memory leak

Signed-off-by: Steven Miao <[email protected]>
---
 fs/ramfs/file-nommu.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c
index d5378d0..fbb0b47 100644
--- a/fs/ramfs/file-nommu.c
+++ b/fs/ramfs/file-nommu.c
@@ -110,7 +110,6 @@ int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize)
 
 		/* prevent the page from being discarded on memory pressure */
 		SetPageDirty(page);
-		SetPageUptodate(page);
 
 		unlock_page(page);
 		put_page(page);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to