[PATCH] xfsprogs: xfs_quota: don't print invalid quota file inode number
Christoph Hellwig
hch at infradead.org
Thu Sep 29 06:05:28 CDT 2011
On Wed, Sep 28, 2011 at 06:15:37AM -0500, Alex Elder wrote:
> When the state of quota files is dumped, xfs_quota blindly shows
> whatever inode number is returned by the kernel. If one of the
> quota types is not enabled or enforced, the inode number provided
> is an invalid value ((__u64) -1). Rather than print a meaningless
> large integer, print "N/A" in its place to make interpreting the
> result it a little more obvious.
>
> Signed-off-by: Alex Elder <aelder at sgi.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list