[PATCH 2/2] xfsprogs: xfs_quota: kill local variable "type" from free_f()

Christoph Hellwig hch at infradead.org
Thu Sep 29 06:07:50 CDT 2011


On Wed, Sep 28, 2011 at 06:44:34AM -0500, Alex Elder wrote:
> Only one value is ever really used for the  "type" variable in
> free_f(), and it indicates that either type of entry in fs_table
> is wanted.  Just get rid of the variable and make use of the
> ability to provide 0 to free_space_list() to indicate that.

This sounds like someone planned to add an argument to it to support
looking at just normal or project quotas.

Given that it never materialized and no one asked for it I'm fine
with your cleanup.

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list