commit | 3590c4d8979bcc364e2ded95ab3966b4e436b7bf | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Oct 18 16:41:34 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 21 08:51:59 2019 -0700 |
tree | 054b216406d4302b620ab981e700a7ba82a25b07 | |
parent | dcd6158d15c7a57d448103e1d51dac5e1a19a406 [diff] |
iomap: ignore non-shared or non-data blocks in xfs_file_dirty xfs_file_dirty is used to unshare reflink blocks. Rename the function to xfs_file_unshare to better document that purpose, and skip iomaps that are not shared and don't need zeroing. This will allow to simplify the caller. 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>