Re: [PATCH 14/25] xfs: verify dir2 block format buffers

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

 



On Thu, Oct 25, 2012 at 05:34:03PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
> 
> Add a dir2 block format read verifier. To fully verify every block
> when read, call xfs_dir2_data_check() on them. Change
> xfs_dir2_data_check() to do runtime checking, convert ASSERT()
> checks to XFS_WANT_CORRUPTED_RETURN(), which will trigger an ASSERT
> failure on debug kernels, but on production kernels will dump an
> error to dmesg and return EFSCORRUPTED to the caller.
> 
> Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>

Solid.

Reviewed-by: Phil White <pwhite@xxxxxxx>

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux