Define a new function xfs_inode_dquot() that takes a inode pointer and a disk quota type and returns the quota pointer for the specified quota type. This simplifies the xfs_qm_dqget() error path sign
Define a new function xfs_inode_dquot() that takes a inode pointer and a disk quota type and returns the quota pointer for the specified quota type. This simplifies the xfs_qm_dqget() error path sign
Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> Same style nitpick as for the last patch. Btw, instead of masking out XFS_DQ_ALLTYPES first this would be more readable as: switch (type & XFS_
Hey Chandra, I'll fix them up. No need to post again. I also twiddled the order of USER/GROUP/PROJ in xfs_inode_dquot to match xfs_this_quota_on. Looks good. Reviewed-by: Ben Myers <bpm@xxxxxxx>