]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: turn ag header initialisation into a table driven operation
authorDave Chinner <dchinner@redhat.com>
Mon, 14 May 2018 06:10:06 +0000 (23:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 01:12:51 +0000 (18:12 -0700)
commit532ff647d8303049e3913bf21e467b3bcc7f0bce
treea8e56c13f0aa091a5130eef9d4280800c7c24b69
parent0410c3bb2b882cd4476e5ee8d74247ac21f4bfac
xfs: turn ag header initialisation into a table driven operation

There's still more cookie cutter code in setting up each AG header.
Separate all the variables into a simple structure and iterate a
table of header definitions to initialise everything.

Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_fsops.c