[PATCH 06/12] quota: Add dispatch of SYNC subcommands
Eugene Syromyatnikov
evgsyr at gmail.com
Wed Sep 21 03:11:38 UTC 2016
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.
---
quota.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/quota.c b/quota.c
index 1e1597f..53730d1 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)) {
--
1.7.10.4
More information about the Strace-devel
mailing list