xfs
[Top] [All Lists]

TAKE 947118 - clean up the xfs_offset_to_map interface

To: linux-xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Subject: TAKE 947118 - clean up the xfs_offset_to_map interface
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 16 Dec 2005 06:15:18 -0600
Sender: linux-xfs-bounce@xxxxxxxxxxx
Currently we pass a struct page and a relative offset into that page around, 
and returns the current xfs_iomap_t if the block at the specified offset
fits into it, or a NULL pointer otherwise.  This patch passed the full 64bit
offset into the inode that all callers have anyway, and changes the return
value to a simple boolean.  Also the function gets a more descriptive name:
xfs_iomap_valid.


Date:  Fri Dec 16 04:15:07 PST 2005
Workarea:  naboo.americas.sgi.com:/home/daisy40/hch/ptools/xfs-2.6.x
Inspected by:  dgc, nathans

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/linux/2.6.x-xfs


Modid:  xfs-linux:xfs-kern:203825a
fs/xfs/linux-2.6/xfs_aops.c - 1.104 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_aops.c.diff?r1=text&tr1=1.104&r2=text&tr2=1.103&f=h


<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 947118 - clean up the xfs_offset_to_map interface, Christoph Hellwig <=