]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor out AG header initialisation from growfs core
authorDave Chinner <dchinner@redhat.com>
Mon, 14 May 2018 06:10:05 +0000 (23:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 01:12:51 +0000 (18:12 -0700)
commitd3c0eed21e48a7a930984203f234839ea078d1d4
tree7d09db3a6c4927799cad8b993cac4b6bc4503c19
parentbc92ce2f50d3e7817c26c4fb3e13660b30fdf67f
xfs: factor out AG header initialisation from growfs core

The intialisation of new AG headers is mostly common with the
userspace mkfs code and growfs in the kernel, so start factoring it
out so we can move it to libxfs and use it in both places.

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