• Eric Sandeen's avatar
    quota: fill in Q_XGETQSTAT inode information for inactive quotas · 3cd0126d
    Eric Sandeen authored
    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: default avatarEric Sandeen <sandeen@redhat.com>
    Reviewed-by: default avatarBill O'Donnell <billodo@redhat.com>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    3cd0126d
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.cocciconfig Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...