]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit65d4a32caf771b318d5a55970c9eacbd691b0429
tree1dc543b7f798c4826684bf2a0a5d83bd363f246f
parenta64a5ecb494c48b0163bfe22523c18040827c731
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