summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:29:52 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:29:52 -0800
commit4fd9cc9e607b22cca3bf5990e677fe90fc8361e6 (patch)
treeaf413b324795e6617d419841b0058d9c14f41229 /fs/exec.c
parent980adcb2cbdd20c15fe63b4c2db12ca0051d8c7d (diff)
v2.4.13.1 -> v2.4.13.2
- Alan Cox: more merging - Alexander Viro: block device module race fixes - Richard Henderson: mmap for 32-bit alpha personality - Jeff Garzik: 8139 and natsemi update
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index d0c679e995d1..6d1e642487a0 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -275,6 +275,7 @@ void put_dirty_page(struct task_struct * tsk, struct page *page, unsigned long a
goto out;
if (!pte_none(*pte))
goto out;
+ lru_cache_add(page);
flush_dcache_page(page);
flush_page_to_ram(page);
set_pte(pte, pte_mkdirty(pte_mkwrite(mk_pte(page, PAGE_COPY))));