diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-10-04 20:34:50 -0700 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2002-10-04 20:34:50 -0700 |
| commit | 911ceab5e55798499796dcef6ea32f51eff8ead6 (patch) | |
| tree | dff4b22fe78938ddfc168e24083a2622f923a920 /include/linux | |
| parent | d39755802e430876d612bc792e4c29652ed8b99b (diff) | |
[PATCH] truncate fixes
The new truncate code needs to check page->mapping after acquiring the
page lock. Because the page could have been unmapped by page reclaim
or by invalidate_inode_pages() while we waited for the page lock.
Also, the page may have been moved between a tmpfs inode and
swapper_space. Because we don't hold the mapping->page_lock across the
entire truncate operation any more.
Also, change the initial truncate scan (the non-blocking one which is
there to stop as much writeout as possible) so that it is immune to
other CPUs decreasing page->index.
Also fix negated test in invalidate_inode_pages2(). Not sure how that
got in there.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
