summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorChristoph Hellwig2018-03-14 07:15:32 +0100
committerDarrick J. Wong2018-03-15 18:31:38 +0100
commitf5c54717bf2b9e052bb69d6ee19fe22e87817079 (patch)
tree85180b0cccbbd36f387de72e662507592191b808 /fs/xfs/xfs_inode.h
parentxfs: assert that xfs_reflink_allocate_cow is called with XFS_ILOCK_EXCL (diff)
downloadkernel-qcow2-linux-f5c54717bf2b9e052bb69d6ee19fe22e87817079.tar.gz
kernel-qcow2-linux-f5c54717bf2b9e052bb69d6ee19fe22e87817079.tar.xz
kernel-qcow2-linux-f5c54717bf2b9e052bb69d6ee19fe22e87817079.zip
xfs: remove xfs_zero_range
This helper doesn't add any real value over just calling iomap_zero_range directly, so remove it. 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 'fs/xfs/xfs_inode.h')
-rw-r--r--fs/xfs/xfs_inode.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h
index 3e8dc990d41c..132d8aa2afc4 100644
--- a/fs/xfs/xfs_inode.h
+++ b/fs/xfs/xfs_inode.h
@@ -443,10 +443,6 @@ enum xfs_prealloc_flags {
int xfs_update_prealloc_flags(struct xfs_inode *ip,
enum xfs_prealloc_flags flags);
-int xfs_zero_eof(struct xfs_inode *ip, xfs_off_t offset,
- xfs_fsize_t isize, bool *did_zeroing);
-int xfs_zero_range(struct xfs_inode *ip, xfs_off_t pos, xfs_off_t count,
- bool *did_zero);
/* from xfs_iops.c */
extern void xfs_setup_inode(struct xfs_inode *ip);