[PATCH 2/5] xfs: use generic percpu counters for inode counter

Christoph Hellwig hch at infradead.org
Tue Feb 3 15:38:32 CST 2015


On Tue, Feb 03, 2015 at 06:33:44AM +1100, Dave Chinner wrote:
> > Why would the percpu counter not be initialized here?  Oh, I guess
> > this is for xfs_sb_verify().  But why can't xfs_mount_validate_sb simply
> > operate on the disk endian SB to avoid that whole issue?
> 
> Possibly. I'll look into it.

A simpler alternative would be to move them out of __xfs_sb_from_disk
into the one caller that needs these values.



More information about the xfs mailing list