diff options
author | Jeremy Allison <jra@samba.org> | 2005-06-22 20:35:06 -0400 |
---|---|---|
committer | Steve French <sfrench@hera.kernel.org> | 2005-06-22 20:35:06 -0400 |
commit | 1bdf7a78c2b21fb94dfe7994dbe89310b18479d2 (patch) | |
tree | 7741cfd476f9c622a10c198da421fdb3e38708b9 /mm/msync.c | |
parent | ac67055ef2378ea95c34b593ddf9d0a0737a240a (diff) | |
parent | a4936044001694f033fe4ea94d6034d51a6b465c (diff) |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'mm/msync.c')
-rw-r--r-- | mm/msync.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/msync.c b/mm/msync.c index 090f426bca7d..d0f5a1bce7cb 100644 --- a/mm/msync.c +++ b/mm/msync.c | |||
@@ -34,6 +34,8 @@ static void sync_pte_range(struct vm_area_struct *vma, pmd_t *pmd, | |||
34 | 34 | ||
35 | if (!pte_present(*pte)) | 35 | if (!pte_present(*pte)) |
36 | continue; | 36 | continue; |
37 | if (!pte_maybe_dirty(*pte)) | ||
38 | continue; | ||
37 | pfn = pte_pfn(*pte); | 39 | pfn = pte_pfn(*pte); |
38 | if (!pfn_valid(pfn)) | 40 | if (!pfn_valid(pfn)) |
39 | continue; | 41 | continue; |