]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_quota: modify commands which can't handle multiple types
authorZorro Lang <zlang@redhat.com>
Sun, 28 Feb 2016 23:45:53 +0000 (10:45 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 28 Feb 2016 23:45:53 +0000 (10:45 +1100)
commitc614d3bf09c79a0e68efa38646a3a283a51561e3
tree2b21bb41a6daa3968ec4cd090fb957cb6d715441
parent1abecdabbc9190db2fa7c3dab15931b7b9ddbb0d
xfs_quota: modify commands which can't handle multiple types

Some xfs_quota commands can't deal with multiple types together.
For example, if we run "limit -ug ...", one type will overwrite
the other. I find below commands can't handle multiple types:

  [quota, limit, timer, warn, dump, restore and quot]

(Although timer and warn command can't support -ugp types until
now, it will in one day.)

For every single $command, I change their ${command}_f function,
${command}_cmd structure and man page.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
man/man8/xfs_quota.8
quota/edit.c
quota/quot.c
quota/quota.c
quota/report.c