[XFS] clean up the xfs_offset_to_map interface Currently we pass a struct
commit1defeac9d4fffa3eabc4fba887e8ff5b1da7f361
authorChristoph Hellwig <hch@sgi.com>
Wed, 11 Jan 2006 09:48:33 +0000 (11 20:48 +1100)
committerNathan Scott <nathans@sgi.com>
Wed, 11 Jan 2006 09:48:33 +0000 (11 20:48 +1100)
tree2943a4d8f5fda0dc4e5722af95ced19fe5d4bdb1
parent10ce444428c2329eb2aaf84850b5c7c09cecc58c
[XFS] clean up the xfs_offset_to_map interface 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.

SGI-PV: 947118
SGI-Modid: xfs-linux-melb:xfs-kern:203825a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c