]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: rework breaking of shared extents in xfs_file_iomap_begin
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 22 Feb 2019 00:36:17 +0000 (16:36 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 25 Feb 2019 17:26:18 +0000 (09:26 -0800)
commit1c6faa1eec04dbda7234545b8bdc06f0423d52c4
tree3a137535469142da030a21d337b7aa9d7f69a49b
parent1d509e36c27790f0644c80f997572f66fd093e65
xfs: rework breaking of shared extents in xfs_file_iomap_begin

Rework the data flow in xfs_file_iomap_begin where we decide if we have
to break shared extents.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_iomap.c