diff options
author | Eric Sandeen <sandeen@redhat.com> | 2016-08-12 22:40:09 (GMT) |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2016-08-15 15:43:31 (GMT) |
commit | 3cd0126dca82ecba8b2a6bf5aca91454da0a0776 (patch) | |
tree | 3e378fb00b74d19750f1fc530216e84898b20be3 /arch/nios2 | |
parent | f7a1c358e51c21b80336413fb824e1a82df648b9 (diff) | |
download | linux-3cd0126dca82ecba8b2a6bf5aca91454da0a0776.tar.xz |
quota: fill in Q_XGETQSTAT inode information for inactive quotas
The manpage for quotactl says that the Q_XGETQSTAT command is
"useful in finding out how much space is spent to store quota
information," but the current implementation does not report this
info if the inode is allocated, but its quota type is not enabled.
This is a change from the earlier XFS implementation, which
reported information about allocated quota inodes even if their
quota type was not currently active.
Change quota_getstate() and quota_getstatev() to copy out the inode
information if the filesystem has provided it, even if the quota
type for that inode is not currently active.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions