Re: [PATCH 31/41] xfs_repair: update incore metadata state whenever we create new files

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

 



On Fri, Dec 06, 2024 at 03:47:43PM -0800, Darrick J. Wong wrote:
> +{
> +	struct ino_tree_node	*irec;
> +	int			ino_offset;
> +
> +	irec = find_inode_rec(mp, XFS_INO_TO_AGNO(mp, ino),
> +			XFS_INO_TO_AGINO(mp, ino));
> +	ino_offset = get_inode_offset(mp, ino, irec);
> +	set_inode_is_meta(irec, ino_offset);

Nit: I'd do away with the ino_offset variable here.

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