From 44a99c878b7a0981cee0f10147cfae073c1726df Mon Sep 17 00:00:00 2001 From: Zhibin Li <08826794brmt@gmail.com> Date: Thu, 12 Jul 2018 17:32:08 +0800 Subject: [PATCH] quota: fix disorder of PRINT_FIELD invocations * quota.c (decode_cmd_data) : Print fields of struct xfs_dqstats in the structure order. --- quota.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quota.c b/quota.c index f1ab9bc5..3596ed56 100644 --- a/quota.c +++ b/quota.c @@ -343,14 +343,14 @@ decode_cmd_data(struct tcb *tcp, uint32_t id, uint32_t cmd, kernel_ulong_t data) if (!abbrev(tcp)) { PRINT_FIELD_FLAGS(", ", dq, qs_flags, xfs_quota_flags, "XFS_QUOTA_???"); - PRINT_FIELD_U(", ", dq, qs_incoredqs); PRINT_FIELD_U(", qs_uquota={", dq.qs_uquota, qfs_ino); PRINT_FIELD_U(", ", dq.qs_uquota, qfs_nblks); PRINT_FIELD_U(", ", dq.qs_uquota, qfs_nextents); PRINT_FIELD_U("}, qs_gquota={", dq.qs_gquota, qfs_ino); PRINT_FIELD_U(", ", dq.qs_gquota, qfs_nblks); PRINT_FIELD_U(", ", dq.qs_gquota, qfs_nextents); - PRINT_FIELD_D("}, ", dq, qs_btimelimit); + PRINT_FIELD_U("}, ", dq, qs_incoredqs); + PRINT_FIELD_D(", ", dq, qs_btimelimit); PRINT_FIELD_D(", ", dq, qs_itimelimit); PRINT_FIELD_D(", ", dq, qs_rtbtimelimit); PRINT_FIELD_U(", ", dq, qs_bwarnlimit); -- 2.40.0