On Thu, Oct 25, 2012 at 05:33:57PM +1100, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > Add an AGFL block verify callback function and pass it into the > buffer read functions. > > While this commit adds verification code to the AGFL, it cannot be > used reliably until the CRC format change comes along as mkfs does > not initialise the full AGFL. Hence it can be full of garbage at the > first mount and will fail verification right now. CRC enabled > filesystems won't have this problem, so leave the code that has > already been written ifdef'd out until the proper time. > > Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> > --- > fs/xfs/xfs_alloc.c | 40 +++++++++++++++++++++++++++++++++++++++- > 1 file changed, 39 insertions(+), 1 deletion(-) Okee doke by me. Reviewed-by: Phil White <pwhite@xxxxxxx> _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs