• Dave Chinner's avatar
    xfs: verify AGFL blocks as they are read from disk · bb80c6d7
    Dave Chinner authored
    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: default avatarDave Chinner <dchinner@redhat.com>
    Reviewed-by: default avatarPhil White <pwhite@sgi.com>
    Signed-off-by: default avatarBen Myers <bpm@sgi.com>
    bb80c6d7
xfs_alloc.c 69.3 KB