• Dave Chinner's avatar
    xfs: make growfs initialise the AGFL header · de497688
    Dave Chinner authored
    For verification purposes, AGFLs need to be initialised to a known
    set of values. For upcoming CRC changes, they are also headers that
    need to be initialised. Currently, growfs does neither for the AGFLs
    - it ignores them completely. Add initialisation of the AGFL to be
    full of invalid block numbers (NULLAGBLOCK) to put the
    infrastructure in place needed for CRC support.
    
    Includes a comment clarification from Jeff Liu.
    Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
    Reviewed-by Rich Johnston <rjohnston@sgi.com>
    Signed-off-by: default avatarBen Myers <bpm@sgi.com>
    de497688
xfs_fsops.c 21.1 KB