[PATCH 06/32] xfs: use btree block initialisation functions in growfs

Rich Johnston rjohnston at sgi.com
Tue Nov 13 15:18:39 CST 2012


On 11/12/2012 05:53 AM, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
>
> Factor xfs_btree_init_block() to be independent of the btree cursor,
> and use the function to initialise btree blocks in the growfs code.
> This makes adding support for different format btree blocks simple.
>
> Signed-off-by: Dave Chinner <dchinner at redhat.com>
> ---
>   fs/xfs/xfs_btree.c |   33 ++++++++++++++++++++++++---------
>   fs/xfs/xfs_btree.h |   11 +++++++++++
>   fs/xfs/xfs_fsops.c |   37 +++++++++++++------------------------
>   3 files changed, 48 insertions(+), 33 deletions(-)
>

Looks good.

Reviewed-by Rich Johnston <rjohnston at sgi.com>

--Rich



More information about the xfs mailing list