diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-04 15:30:21 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-10 08:56:47 -0700 |
commit | c14cfccabe2af251388e20c1004ac5c6a970ba53 (patch) | |
tree | 9cb023d1a0388458fdef15eb769610a5d5d6e27e /fs/xfs/libxfs/xfs_attr.c | |
parent | d7103eeb0051db9c27b7aaaf07262bd3802c529f (diff) | |
download | linux-c14cfccabe2af251388e20c1004ac5c6a970ba53.tar.gz linux-c14cfccabe2af251388e20c1004ac5c6a970ba53.tar.bz2 linux-c14cfccabe2af251388e20c1004ac5c6a970ba53.zip |
xfs: remove unnecessary xfs_qm_dqattach parameter
The flags argument is always zero, get rid of it.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_attr.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_attr.c b/fs/xfs/libxfs/xfs_attr.c index 35a124400d60..c3d02a66d39d 100644 --- a/fs/xfs/libxfs/xfs_attr.c +++ b/fs/xfs/libxfs/xfs_attr.c @@ -236,7 +236,7 @@ xfs_attr_set( args.op_flags = XFS_DA_OP_ADDNAME | XFS_DA_OP_OKNOENT; args.total = xfs_attr_calc_size(&args, &local); - error = xfs_qm_dqattach(dp, 0); + error = xfs_qm_dqattach(dp); if (error) return error; @@ -427,7 +427,7 @@ xfs_attr_remove( */ args.op_flags = XFS_DA_OP_OKNOENT; - error = xfs_qm_dqattach(dp, 0); + error = xfs_qm_dqattach(dp); if (error) return error; |