Commit 5dec14bf authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Nathan Scott

[XFS] Fix warnings in xfs_bmap.c

SGI Modid: xfs-linux:xfs-kern:177663a
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent 898e768a
...@@ -3427,19 +3427,20 @@ xfs_bmap_do_search_extents( ...@@ -3427,19 +3427,20 @@ xfs_bmap_do_search_extents(
int high; /* high index of binary search */ int high; /* high index of binary search */
int low; /* low index of binary search */ int low; /* low index of binary search */
/* Initialize the extent entry structure to catch access to /*
* uninitialized br_startblock field. * Initialize the extent entry structure to catch access to
*/ * uninitialized br_startblock field.
*/
got.br_startoff = 0xffa5a5a5a5a5a5a5; got.br_startoff = 0xffa5a5a5a5a5a5a5LL;
got.br_blockcount = 0xa55a5a5a5a5a5a5a; got.br_blockcount = 0xa55a5a5a5a5a5a5aLL;
got.br_state = XFS_EXT_INVALID; got.br_state = XFS_EXT_INVALID;
#if XFS_BIG_BLKNOS #if XFS_BIG_BLKNOS
got.br_startblock = 0xffffa5a5a5a5a5a5; got.br_startblock = 0xffffa5a5a5a5a5a5LL;
#else #else
got.br_startblock = 0xffffa5a5; got.br_startblock = 0xffffa5a5;
#endif #endif
if (lastx != NULLEXTNUM && lastx < nextents) if (lastx != NULLEXTNUM && lastx < nextents)
ep = base + lastx; ep = base + lastx;
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment