Re: XFS compilation warning in 2.6.9-rc1

From: Andrew Clayton
Date: Tue Aug 24 2004 - 08:02:39 EST


On Tue, 2004-08-24 at 13:35, Christoph Hellwig wrote:


> --- 1.26/fs/xfs/xfs_bmap.c 2004-08-19 05:36:06 +02:00
> +++ edited/fs/xfs/xfs_bmap.c 2004-08-24 14:35:40 +02:00
> @@ -3431,15 +3431,16 @@
> * uninitialized br_startblock field.
> */
>
> - got.br_startoff = 0xffa5a5a5a5a5a5a5;
> - got.br_blockcount = 0xa55a5a5a5a5a5a5a;
> + got.br_startoff = 0xffa5a5a5a5a5a5a5LL;
> + got.br_blockcount = 0xa55a5a5a5a5a5a5aLL;
> got.br_state = XFS_EXT_INVALID;
>
> - #if XFS_BIG_BLKNOS
> - got.br_startblock = 0xffffa5a5a5a5a5a5;
> - #else
> - got.br_startblock = 0xffffa5a5;
> - #endif
> +#if XFS_BIG_BLKNOS
> + got.br_startblock = 0xffffa5a5a5a5a5a5LL;
> +#else
> + got.br_startblock = 0xffffa5a5;
> +#endif
> +
> if (lastx != NULLEXTNUM && lastx < nextents)
> ep = base + lastx;
> else
>



Yep, that sorted it.


Cheers,


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/