summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-18 02:51:51 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-30 17:57:48 +0300
commit51d626903083f7bd651d38b031775740ed41758c (patch)
treed9f2de99b862d7723dd848e7bc84c112de68f247 /Documentation
parent3ba738df25239f877f6a98ce1cc925fa7e924cd3 (diff)
downloadlinux-51d626903083f7bd651d38b031775740ed41758c.tar.xz
xfs: introduce a new xfs_inode_has_cow_data helper
We have a few places that already check if an inode has actual data in the COW fork to avoid work on reflink inodes that do not actually have outstanding COW blocks. There are a few more places that can avoid working if doing the same check, so add a documented helper for this condition and use it in all places where it makes sense. 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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions