Re: [PATCH 4/8] xfs_repair: support more than 2^32 owners per physical block

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

 



On Wed, Mar 13, 2024 at 07:03:12PM -0700, Christoph Hellwig wrote:
> On Tue, Mar 12, 2024 at 07:15:42PM -0700, Darrick J. Wong wrote:
> > +	if (nr_rmaps > MAXREFCOUNT)
> > +		nr_rmaps = MAXREFCOUNT;
> > +	rlrec.rc_refcount = nr_rmaps;
> 
> use min() here?

Done.

--D

> Otherwise 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