[patch 05/18] Use page_cache_xxx in mm/rmap.c

2008-02-15 Thread Christoph Lameter
V2->V3: - vma_address(): Check for truncation if this is a file based page. return -EFAULT if truncation occurred. - page_referenced_file(): Only use mapping after we have made sure that the mapping is valid and the page is locked. Use page_cache_xxx in mm/rmap.c Reviewed-by: Dave Chinn

[patch 05/18] Use page_cache_xxx in mm/rmap.c

2007-12-26 Thread Christoph Lameter
V2->V3: - vma_address(): Check for truncation if this is a file based page. return -EFAULT if truncation occurred. - page_referenced_file(): Only use mapping after we have made sure that the mapping is valid and the page is locked. Use page_cache_xxx in mm/rmap.c Reviewed-by: Dave Chinn