diff options
author | Jan Kara <jack@suse.cz> | 2014-12-16 16:12:27 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-03-04 16:06:39 +0100 |
commit | c39fb53b48c851b185c22548153581d78f2acc11 (patch) | |
tree | 9cb77c6c41e412eae92f26c8528e65b35c9ec703 /include/linux/quota.h | |
parent | c14cad9eed11343014f73aae4a77278239b201b8 (diff) |
quota: Hook up Q_XSETQLIM for id 0 to ->set_info
Setting timers or warning counts for id 0 via Q_XSETQLIM is used to
actually set time limits and warning limits for all users. Hook up
->set_info to this so that VFS quota time limits get set the same
way as XFS ones.
When doing this Q_XSETQLIM for XFS is effectively split into two
independent transactions - one for setting timers and warning limits and
one for setting space and inode limits. Although this is inefficient, it
is rare enough that it does not matter.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/quota.h')
0 files changed, 0 insertions, 0 deletions