Re: [PATCH 2/4] xfs: check owner of dir3 free blocks

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

 



On 3/3/20 8:08 AM, Darrick J. Wong wrote:
> On Mon, Mar 02, 2020 at 06:04:07PM -0600, Eric Sandeen wrote:
>> On 2/28/20 5:48 PM, Darrick J. Wong wrote:
>>> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
>>>
>>> Check the owner field of dir3 free block headers.
>>>
>>> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
>>
>> Do we need a similar check in xfs_repair?
> 
> Yeah, working on that...


k

>> Should this also check
>>
>> hdr.blkno == bp->b_bn? ?
> 
> That's checked by xfs_dir3_free_verify.

Oh, right.  sorry.

-Eric



[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