Re: [PATCH 16/18] xfs_scrub: remove shadow var from run_scrub_phases()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 10, 2018 at 03:01:20PM -0500, Eric Sandeen wrote:
> The local nr_threads shadows a global var of the same name.
> Use a local variable to avoid confusion (even though estimate_work()
> may simply fill in the value of the global...)
> 
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux