aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-18 16:41:34 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-21 08:51:59 -0700
commit3590c4d8979bcc364e2ded95ab3966b4e436b7bf (patch)
tree054b216406d4302b620ab981e700a7ba82a25b07 /lib/test_overflow.c
parentiomap: always use AOP_FLAG_NOFS in iomap_write_begin (diff)
downloadwireguard-linux-3590c4d8979bcc364e2ded95ab3966b4e436b7bf.tar.xz
wireguard-linux-3590c4d8979bcc364e2ded95ab3966b4e436b7bf.zip
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>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions