xfs: replace XFS_QMOPT_DQALLOC with a simple boolean
DQALLOC is only ever used with xfs_qm_dqget*, and the only flag that the _dqget family of functions cares about is DQALLOC. Therefore, change it to a boolean 'can alloc?' flag for the dqget interfaces where that makes sense. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
This commit is contained in:
@@ -170,7 +170,7 @@ extern void xfs_qm_adjust_dqlimits(struct xfs_mount *,
|
||||
extern xfs_dqid_t xfs_qm_id_for_quotatype(struct xfs_inode *ip,
|
||||
uint type);
|
||||
extern int xfs_qm_dqget(struct xfs_mount *mp, xfs_dqid_t id,
|
||||
uint type, uint flags,
|
||||
uint type, bool can_alloc,
|
||||
struct xfs_dquot **dqpp);
|
||||
extern int xfs_qm_dqget_inode(struct xfs_inode *ip, uint type,
|
||||
bool can_alloc,
|
||||
|
Reference in New Issue
Block a user