diff options
author | 2018-05-04 15:30:21 -0700 | |
---|---|---|
committer | 2018-05-10 08:56:47 -0700 | |
commit | c14cfccabe2af251388e20c1004ac5c6a970ba53 (patch) | |
tree | 9cb023d1a0388458fdef15eb769610a5d5d6e27e /fs/xfs/xfs_iomap.c | |
parent | xfs: delegate dqget input checks to helper function (diff) | |
download | linux-dev-c14cfccabe2af251388e20c1004ac5c6a970ba53.tar.xz linux-dev-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/xfs_iomap.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index d03e65f01c89..0880685a1143 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -224,7 +224,7 @@ xfs_iomap_write_direct( * necessary and move on to transaction setup. */ xfs_iunlock(ip, lockmode); - error = xfs_qm_dqattach(ip, 0); + error = xfs_qm_dqattach(ip); if (error) return error; @@ -692,7 +692,7 @@ xfs_iomap_write_allocate( /* * Make sure that the dquots are there. */ - error = xfs_qm_dqattach(ip, 0); + error = xfs_qm_dqattach(ip); if (error) return error; |