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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user