xfs: split out a new set of read-only iomap ops
authorChristoph Hellwig <hch@lst.de>
Sat, 19 Oct 2019 16:09:45 +0000 (09:09 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 16:04:58 +0000 (09:04 -0700)
commit690c2a38878e88d7182cf30d87864b565391d531
treed220c37caf06ad5dfcfd53ae180f4d6a2e4f9f19
parent43568226a4a3da1b63a34578d33725291f2c5918
xfs: split out a new set of read-only iomap ops

Start untangling xfs_file_iomap_begin by splitting out the read-only
case into its own set of iomap_ops with a very simply iomap_begin
helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_file.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h
fs/xfs/xfs_iops.c