[PATCH 07/12] quota: Add decoding for Q_XQUOTARM subcommand

Eugene Syromyatnikov evgsyr at gmail.com
Wed Sep 21 03:11:52 UTC 2016


* quota.c (decode_cmd_data): Add Q_XQUOTARM handling to subcommand
  switch.
---
 quota.c |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/quota.c b/quota.c
index 53730d1..905fece 100644
--- a/quota.c
+++ b/quota.c
@@ -591,6 +591,19 @@ decode_cmd_data(struct tcb *tcp, uint32_t id, uint32_t cmd, unsigned long data)
 		tprints("]");
 		break;
 	}
+	case Q_XQUOTARM:
+	{
+		uint32_t flag;
+
+		tprints(", ");
+
+		if (umove_or_printaddr(tcp, data, &flag))
+			break;
+		tprints("[");
+		printflags(xfs_dqblk_flags, flag, "XFS_???_QUOTA");
+		tprints("]");
+		break;
+	}
 	default:
 		printuid(", ", id);
 		tprints(", ");
-- 
1.7.10.4





More information about the Strace-devel mailing list