Re: [PATCH 10/49] libxfs: sync dir2 kernel differences

Mark Tinguely
2013-08-08T22:04:10Z

On 07/19/13 01:44, Dave Chinner wrote:
> From: Dave Chinner<dchinner@redhat.com>
>
> Signed-off-by: Dave Chinner<dchinner@redhat.com>
> ---

> diff --git a/libxfs/xfs_dir2_node.c b/libxfs/xfs_dir2_node.c
> index bdce1b3..222f08c 100644
> --- a/libxfs/xfs_dir2_node.c
> +++ b/libxfs/xfs_dir2_node.c

9th chunk in libxfs/xfs_dir2_node.c patch

> @@ -1795,9 +1793,9 @@ xfs_dir2_node_addname_int(
> /*
> * Look at the current free entry. Is it good enough?
> *
> - * The bests initialisation should be wher eteh bufer is read in
> + * The bests initialisation should be where the bufer is read in
> * the above branch. But gcc is too stupid to realise that bests
> - * iand the freehdr are actually initialised if they are placed
> + * and the freehdr are actually initialised if they are placed
> * there, so we have to do it here to avoid warnings. Blech.
> */
> bests = xfs_dir3_free_bests_p(mp, free);

A clean up in the xfsprogs master branch requires this to be removed.

--Mark.