diff options
author | Jan Kara <jack@suse.cz> | 2020-05-20 16:22:52 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-05-21 10:18:51 +0200 |
commit | 13bb8c2daca0f1c1099ce6ba9dcb23319f7955d0 (patch) | |
tree | 9516694a1663d45c344c0ee819a30062076a32a6 /quotaio_xfs.h | |
parent | be96da2353669d433b0abddb85b26ccaf35e3451 (diff) | |
download | linuxquota-13bb8c2daca0f1c1099ce6ba9dcb23319f7955d0.tar.gz |
Fix limits setting on XFS filesystem
xfs_commit_dquot() always set FS_DQ_LIMIT_MASK when calling
Q_XFS_SETQLIM. So far this wasn't a problem since quota tools didn't
support setting of anything else for XFS but now that kernel will start
supporting setting of grace times for XFS, we need to be more careful
and set limits bits only if we really want to update them. Also
FS_DQ_LIMIT_MASK contains real-time limits as well. Quota tools
currently don't support them in any way so avoid telling kernel to set
them.
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'quotaio_xfs.h')
0 files changed, 0 insertions, 0 deletions