quota: Add decoding for Q_XQUOTARM subcommand

* quota.c (decode_cmd_data): Add Q_XQUOTARM handling to subcommand
  switch.
This commit is contained in:
Eugene Syromyatnikov 2016-09-21 06:11:52 +03:00 committed by Dmitry V. Levin
parent 01bb1d206a
commit 4cb1124902

13
quota.c
View File

@ -595,6 +595,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(", ");