Re: [PATCH 06/10] xfs_repair: fix cowextsize field checking and repairing

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

 




On 10/27/17 11:17 AM, Darrick J. Wong wrote:
> On Thu, Oct 26, 2017 at 09:06:10PM -0500, Eric Sandeen wrote:
>> On 10/26/17 5:15 PM, Darrick J. Wong wrote:
>>> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
>>>
>>> Make sure that we never leave the filesystem with a zero cowextsize hint
>>> while the cowextsize inode flag is set.
>>>
>>> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
>>
>> Ok.  Is there anything that catches cowextsize set on di_version < 3?
> 
> No, because the inode core structure isn't large enough to have
> cowextsize if version < 3.

Oh right - no di_flags2 to hold the XFS_DIFLAG2_COWEXTSIZE flag, and
no di_cowextsize to hold a value.  Derp, sorry for the noise.

-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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