xfs: report iomap_bn in block base
authorChristoph Hellwig <hch@infradead.org>
Wed, 28 Apr 2010 12:28:55 +0000 (12:28 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:17 +0000 (09:58 -0500)
commite513182d4d7ec8f1870ae368c549ef2838e2c105
tree1dc543b7f798c4826684bf2a0a5d83bd363f246f
parent8699bb0a480193e62d5ccb9c86e2c26b407090a8
xfs: report iomap_bn in block base

Report the iomap_bn field of struct xfs_iomap in terms of filesystem
blocks instead of in terms of bytes.  Shift the byte conversions
into the caller, and replace the IOMAP_DELAY and IOMAP_HOLE flag
checks with checks for HOLESTARTBLOCK and DELAYSTARTBLOCK.

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