From: Christoph Hellwig Date: Wed, 11 Jan 2006 09:48:33 +0000 (+1100) Subject: [XFS] clean up the xfs_offset_to_map interface Currently we pass a struct X-Git-Tag: v2.6.16-rc1~185^2~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1defeac9d4fffa3eabc4fba887e8ff5b1da7f361;p=pandora-kernel.git [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 Signed-off-by: Nathan Scott --- Reading git-diff-tree failed