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

Mark Tinguely tinguely at sgi.com
Thu Aug 8 17:04:02 CDT 2013


On 07/19/13 01:44, Dave Chinner wrote:
> From: Dave Chinner<dchinner at redhat.com>
>
> Signed-off-by: Dave Chinner<dchinner at 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.



More information about the xfs mailing list