]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: standardize quota verification function outputs
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Feb 2018 04:43:17 +0000 (22:43 -0600)
committerEric Sandeen <sandeen@redhat.com>
Tue, 27 Feb 2018 04:43:17 +0000 (22:43 -0600)
commit71ffd552b499cc420aa2599ba0a2a8699551d966
treeb3907fcaca22fd61c2a26c1009e5c5d76e8c368b
parent055b84e39cabe4e2242b37bd2554908e10dd9d06
xfs: standardize quota verification function outputs

Source kernel commit: eebf3cab9c5eac7fdb54fb9e9fb38c06f46f17f3

Rename xfs_dqcheck to xfs_dquot_verify and make it return an
xfs_failaddr_t like every other structure verifier function.
This enables us to check on-disk quotas in the same way that we check
everything else.  Callers are now responsible for logging errors, as
XFS_QMOPT_DOWARN goes away.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_dquot_buf.c
libxfs/xfs_quota_defs.h