diff options
author | Christoph Hellwig <hch@lst.de> | 2016-11-24 01:39:50 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-11-24 01:39:50 +0100 |
commit | 86f12ab05ffc45fa88a09110f582875fa9f07c8a (patch) | |
tree | 0cbe99a2057db3be71251e3df72b517d48a82e93 /fs/xfs/xfs_reflink.h | |
parent | xfs: cleanup xfs_reflink_find_cow_mapping (diff) | |
download | linux-86f12ab05ffc45fa88a09110f582875fa9f07c8a.tar.xz linux-86f12ab05ffc45fa88a09110f582875fa9f07c8a.zip |
xfs: use new extent lookup helpers in xfs_reflink_trim_irec_to_next_cow
And remove the unused return value.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_reflink.h')
-rw-r--r-- | fs/xfs/xfs_reflink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_reflink.h b/fs/xfs/xfs_reflink.h index cff5fc329359..aa6a4d64bd35 100644 --- a/fs/xfs/xfs_reflink.h +++ b/fs/xfs/xfs_reflink.h @@ -32,7 +32,7 @@ extern int xfs_reflink_allocate_cow_range(struct xfs_inode *ip, xfs_off_t offset, xfs_off_t count); extern bool xfs_reflink_find_cow_mapping(struct xfs_inode *ip, xfs_off_t offset, struct xfs_bmbt_irec *imap); -extern int xfs_reflink_trim_irec_to_next_cow(struct xfs_inode *ip, +extern void xfs_reflink_trim_irec_to_next_cow(struct xfs_inode *ip, xfs_fileoff_t offset_fsb, struct xfs_bmbt_irec *imap); extern int xfs_reflink_cancel_cow_blocks(struct xfs_inode *ip, |