]> granicus.if.org Git - strace/commit
quota: remove legacy subcommand decoding support code
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 21 Sep 2016 03:12:10 +0000 (06:12 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 27 Sep 2016 00:57:28 +0000 (00:57 +0000)
commitfd5195dccd56d538cc23aa044eb01217c9637871
treefe601290335edbc7e43e8d8d09f462005b209ec4
parentabde34546d5fde42ed58ae54f3234481f7373401
quota: remove legacy subcommand decoding support code

Support for these quota subcommands by linux kernels has been dropped
long time ago (between 2.5.16 and 2.5.17), so lets drop it in order
to minimize amount of code which should be subjected to testing and
structured conversion.

* quota.c (struct v1_dqblk, struct v2_dqblk, struct v2_dqinfo,
struct v1_dqstats, struct v2_dqstats): Remove.
(decode_cmd_data): Remove handling of Q_V1_GETQUOTA, Q_V1_SETQUOTA,
Q_V2_GETQUOTA, Q_V2_SETQUOTA, Q_V2_GETINFO, Q_V2_SETINFO, Q_V1_GETSTATS,
and Q_V2_GETSTATS subcommands.
(SYS_FUNC(quotactl)): Remove handling of Q_V1_QUOTAON subcommand.
quota.c