* - mincore-fill-in-results-properly.patch removed from -mm tree
@ 2007-02-16 8:02 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2007-02-16 8:02 UTC (permalink / raw)
To: npiggin, mm-commits
The patch titled
mincore: fill in results properly
has been removed from the -mm tree. Its filename was
mincore-fill-in-results-properly.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: mincore: fill in results properly
From: Nick Piggin <npiggin@suse.de>
Paper bag time. Thanks to Randy for noticing that I didn't actually assign
'present' to anything.
Unfortunately my original patch passed the few simple test cases I gave it,
purely by coincidence.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/mincore.c | 5 +++++
1 file changed, 5 insertions(+)
diff -puN mm/mincore.c~mincore-fill-in-results-properly mm/mincore.c
--- a/mm/mincore.c~mincore-fill-in-results-properly
+++ a/mm/mincore.c
@@ -125,6 +125,8 @@ static long do_mincore(unsigned long add
#endif
}
}
+
+ vec[i] = present;
}
pte_unmap_unlock(ptep-1, ptl);
@@ -135,6 +137,9 @@ none_mapped:
pgoff = linear_page_index(vma, addr);
for (i = 0; i < nr; i++, pgoff++)
vec[i] = mincore_page(vma->vm_file->f_mapping, pgoff);
+ } else {
+ for (i = 0; i < nr; i++)
+ vec[i] = 0;
}
return nr;
_
Patches currently in -mm which might be from npiggin@suse.de are
origin.patch
git-block.patch
fs-fix-__block_write_full_page-error-case-buffer-submission.patch
fs-fix-libfs-data-leak.patch
fs-fix-nobh-data-leak.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-16 8:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-16 8:02 - mincore-fill-in-results-properly.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.