Re: [07/36] Use page_cache_xxx in mm/filemap_xip.c

2007-08-28 Thread Nick Piggin
Christoph Hellwig wrote: On Tue, Aug 28, 2007 at 09:49:38PM +0200, J??rn Engel wrote: On Tue, 28 August 2007 12:05:58 -0700, [EMAIL PROTECTED] wrote: - index = *ppos >> PAGE_CACHE_SHIFT; - offset = *ppos & ~PAGE_CACHE_MASK; + index = page_cache_index(mapping, *ppos); +

Re: [07/36] Use page_cache_xxx in mm/filemap_xip.c

2007-08-28 Thread Christoph Hellwig
On Tue, Aug 28, 2007 at 09:49:38PM +0200, J??rn Engel wrote: > On Tue, 28 August 2007 12:05:58 -0700, [EMAIL PROTECTED] wrote: > > > > - index = *ppos >> PAGE_CACHE_SHIFT; > > - offset = *ppos & ~PAGE_CACHE_MASK; > > + index = page_cache_index(mapping, *ppos); > > + offset = page_cache_of

Re: [07/36] Use page_cache_xxx in mm/filemap_xip.c

2007-08-28 Thread Jörn Engel
On Tue, 28 August 2007 12:05:58 -0700, [EMAIL PROTECTED] wrote: > > - index = *ppos >> PAGE_CACHE_SHIFT; > - offset = *ppos & ~PAGE_CACHE_MASK; > + index = page_cache_index(mapping, *ppos); > + offset = page_cache_offset(mapping, *ppos); Part of me feels inclined to marge this pa

[07/36] Use page_cache_xxx in mm/filemap_xip.c

2007-08-28 Thread clameter
Use page_cache_xxx in mm/filemap_xip.c Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/filemap_xip.c | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/mm/filemap_xip.c b/mm/filemap_xip.c index ba6892d..5237e53 100644 --- a/mm/filemap