xfs: move the flags argument of xfs_qm_scall_trunc_qfiles to XFS_QMOPT_*
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 14 Jul 2020 17:36:09 +0000 (10:36 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 29 Jul 2020 03:24:14 +0000 (20:24 -0700)
commit41ed4a5f2ba41882d8fbdf4cf455855e80ab6b90
treefd686723e07c83fc50824369e142869880fe1f26
parentafeda6000b0cb6d873920be4ce67f351f017a654
xfs: move the flags argument of xfs_qm_scall_trunc_qfiles to XFS_QMOPT_*

Since xfs_qm_scall_trunc_qfiles can take a bitset of quota types that we
want to truncate, change the flags argument to take XFS_QMOPT_[UGP}QUOTA
so that the next patch can start to deprecate XFS_DQ_*.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
fs/xfs/xfs_qm_syscalls.c
fs/xfs/xfs_quotaops.c