xfs: don't pass iomap flags to xfs_reflink_allocate_cow
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 22 Feb 2019 00:26:35 +0000 (16:26 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 25 Feb 2019 17:04:31 +0000 (09:04 -0800)
commitaffe250a085d8230fa44fee1a0b7929a986e7580
tree8c52954fe36046274579c7109a5968a5277d712d
parent081a8ae2a54e85ddd77db77d50b1a04b3c4731c9
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>
fs/xfs/xfs_iomap.c
fs/xfs/xfs_reflink.c
fs/xfs/xfs_reflink.h