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.
This commit is contained in:
Eugene Syromyatnikov 2016-09-21 06:11:38 +03:00 committed by Dmitry V. Levin
parent 3b3fd71546
commit 01bb1d206a

View File

@ -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)) {