]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/xfs/linux-2.6/xfs_aops.c
xfs: clean up xfs_iomap_valid
authorChristoph Hellwig <hch@infradead.org>
Wed, 28 Apr 2010 12:28:58 +0000 (12:28 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:19 +0000 (09:58 -0500)
commit558e6891693f4c383c51c7343a88dea174eadacf
treedf7512d1f97fb4557d920d3ceb566dee256c1a7c
parent34a52c6c064fb9f1fd1310407ce076a4bb049734
xfs: clean up xfs_iomap_valid

Rename all iomap_valid identifiers to imap_valid to fit the new
world order, and clean up xfs_iomap_valid to convert the passed in
offset to blocks instead of the imap values to bytes.  Use the
simpler inode->i_blkbits instead of the XFS macros for this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c