summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorChristoph Hellwig2018-10-18 08:19:48 +0200
committerDave Chinner2018-10-18 08:19:48 +0200
commitd392bc81bb7c26ea6225d088ead344ed6486b495 (patch)
tree0f8b7e9b8b7d8b572ba90726b05be3eb6ce09884 /fs/xfs/xfs_bmap_util.c
parentxfs: remove the unused shared argument to xfs_reflink_reserve_cow (diff)
downloadkernel-qcow2-linux-d392bc81bb7c26ea6225d088ead344ed6486b495.tar.gz
kernel-qcow2-linux-d392bc81bb7c26ea6225d088ead344ed6486b495.tar.xz
kernel-qcow2-linux-d392bc81bb7c26ea6225d088ead344ed6486b495.zip
xfs: remove the unused trimmed argument from xfs_reflink_trim_around_shared
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_bmap_util.c')
-rw-r--r--fs/xfs/xfs_bmap_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap_util.c b/fs/xfs/xfs_bmap_util.c
index 416524f6ba69..7cfda25f1bb1 100644
--- a/fs/xfs/xfs_bmap_util.c
+++ b/fs/xfs/xfs_bmap_util.c
@@ -406,10 +406,10 @@ xfs_getbmap_report_one(
struct xfs_bmbt_irec *got)
{
struct kgetbmap *p = out + bmv->bmv_entries;
- bool shared = false, trimmed = false;
+ bool shared = false;
int error;
- error = xfs_reflink_trim_around_shared(ip, got, &shared, &trimmed);
+ error = xfs_reflink_trim_around_shared(ip, got, &shared);
if (error)
return error;