From: Eugene Syromyatnikov Date: Wed, 21 Sep 2016 03:11:38 +0000 (+0300) Subject: quota: add dispatch of SYNC subcommands X-Git-Tag: v4.14~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01bb1d206a30d11109ebc4a3f3fdc60f6acd14c6;p=strace quota: add dispatch of SYNC subcommands Q_XQUOTASYNC is no-op, but it does not require id/addr arguments anyway. * quota.c (decode_cmd_data): Add Q_SYNC and Q_XQUOTASYNC to subcommand dispatch switch since id/addr arguments for these subcommands are known to be ignored. --- diff --git a/quota.c b/quota.c index 03c1ecdd..ee98f988 100644 --- a/quota.c +++ b/quota.c @@ -216,6 +216,8 @@ decode_cmd_data(struct tcb *tcp, uint32_t id, uint32_t cmd, unsigned long data) { switch (cmd) { case Q_QUOTAOFF: + case Q_SYNC: + case Q_XQUOTASYNC: break; case Q_GETQUOTA: if (entering(tcp)) {