[PATCH 02/11] xfs: remove iomap_target

Alex Elder aelder at sgi.com
Thu Apr 29 09:25:14 CDT 2010


On Wed, 2010-04-28 at 08:28 -0400, Christoph Hellwig wrote:
> plain text document attachment (xfs-iomap-cleanup-2)
> Instead of using the iomap_target field in struct xfs_iomap and the
> IOMAP_REALTIME flag just use the already existing xfs_find_bdev_for_inode
> helper.  There's some fallout as we need to pass the inode in a few more
> places, which we also use to sanitize some calling conventions.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

There are other places the xfs_find_bdev_for_inode() helper ought
to be used also.

Looks good.

Reviewed-by: Alex Elder <aelder at sgi.com>


> Index: xfs/fs/xfs/linux-2.6/xfs_aops.c
> ===================================================================
. . .




More information about the xfs mailing list