xfs: make growfs initialise the AGFL header
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Nov 2012 11:54:00 +0000 (22:54 +1100)
committerBen Myers <bpm@sgi.com>
Tue, 13 Nov 2012 22:40:59 +0000 (16:40 -0600)
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: Dave Chinner <dchinner@redhat.com>
Reviewed-by Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>

No differences found