Re: [patch 06/19] Use page_cache_xxx in mm/filemap_xip.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 28, 2007 at 05:10:58PM -0800, Christoph Lameter wrote:
> Use page_cache_xxx in mm/filemap_xip.c
> 
> Signed-off-by: Christoph Lameter <clameter@xxxxxxx>
> ---
>  mm/filemap_xip.c |   28 ++++++++++++++--------------
>  1 file changed, 14 insertions(+), 14 deletions(-)
> 
> Index: mm/mm/filemap_xip.c
> ===================================================================
> --- mm.orig/mm/filemap_xip.c	2007-11-28 12:27:32.155962689 -0800
> +++ mm/mm/filemap_xip.c	2007-11-28 14:10:46.124978450 -0800
> @@ -60,24 +60,24 @@ do_xip_mapping_read(struct address_space


> -			nr = ((isize - 1) & ~PAGE_CACHE_MASK) + 1;
> +			nr = page_cache_next(mapping, size - 1) + 1;
                             page_cache_offset(mapping, isize - 1) + 1;
                         or: page_cache_next(mapping, isize);


Cheers,
Fengguang

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux