Christoph Hellwig 576177818e xfs: move inode locking from xfs_reflink_remap_range to xfs_file_share_range
We need the iolock protection to stabilizie the IS_SWAPFILE and
IS_IMMUTABLE values, as well as preventing new buffered writers
re-dirtying the file data that we just wrote out.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2016-10-20 15:49:19 +11:00
..
2016-04-06 09:47:01 +10:00
2016-04-06 09:47:01 +10:00
2016-10-04 18:06:40 -07:00
2016-10-04 11:05:44 -07:00
2016-10-13 20:28:22 -07:00
2016-10-13 20:28:22 -07:00
2016-10-13 20:28:22 -07:00
2016-06-01 17:38:15 +10:00
2016-04-06 09:19:55 +10:00
2016-10-20 15:42:30 +11:00
2016-10-13 20:28:22 -07:00