On Fri, May 11, 2018 at 05:48:35PM -0700, Darrick J. Wong wrote: > On Sat, May 12, 2018 at 08:51:01AM +1000, Dave Chinner wrote: > > From: Dave Chinner <dchinner@xxxxxxxxxx> > > > > Cookie cutter code, easily factored. > > > > Signed-Off-By: Dave Chinner <dchinner@xxxxxxxxxx> > > --- > > fs/xfs/xfs_fsops.c | 485 ++++++++++++++++++++++++--------------------- > > 1 file changed, 263 insertions(+), 222 deletions(-) > > > > diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c > > index 4b560caaf397..4dbb7b41aeca 100644 > > --- a/fs/xfs/xfs_fsops.c > > +++ b/fs/xfs/xfs_fsops.c > > @@ -71,46 +71,141 @@ xfs_growfs_get_hdr_buf( > > return bp; > > } > > > > +struct aghdr_init_data { > > + /* per ag data */ > > + xfs_agblock_t agno; > > xfs_agnumber_t ? Oops, yes. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html