commit | e6eb603c7e4f39cbd41042c7ceb7141dffc08096 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Wed Jul 15 17:50:57 2020 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Jul 28 20:24:14 2020 -0700 |
tree | 5ffd8813539425f6db2b8bc83e8ba0350bbd3ef2 | |
parent | 00a342e4965ee91fff06e01949fa27db53c0bb1c [diff] |
xfs: refactor quota type testing Certain functions can only act upon one quota type, so refactor those functions to use switch statements, in keeping with all the other high level xfs quota api calls. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>