diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-02-22 01:26:35 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-02-25 18:04:31 +0100 |
commit | affe250a085d8230fa44fee1a0b7929a986e7580 (patch) | |
tree | 8c52954fe36046274579c7109a5968a5277d712d /fs/xfs/xfs_reflink.h | |
parent | xfs: fix uninitialized error variable (diff) | |
download | linux-affe250a085d8230fa44fee1a0b7929a986e7580.tar.xz linux-affe250a085d8230fa44fee1a0b7929a986e7580.zip |
xfs: don't pass iomap flags to xfs_reflink_allocate_cow
Don't pass raw iomap flags to xfs_reflink_allocate_cow; signal our
intention with a boolean argument.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to '')
-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 2a3052fbe23e..28a43b7f581d 100644 --- a/fs/xfs/xfs_reflink.h +++ b/fs/xfs/xfs_reflink.h @@ -27,7 +27,7 @@ bool xfs_inode_need_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap, extern int xfs_reflink_allocate_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap, bool *shared, uint *lockmode, - unsigned iomap_flags); + bool convert_now); extern int xfs_reflink_convert_cow(struct xfs_inode *ip, xfs_off_t offset, xfs_off_t count); |