]> git.hungrycats.org Git - linux/commitdiff
[XFS] Fix warnings in xfs_bmap.c
authorChristoph Hellwig <hch@sgi.com>
Sat, 28 Aug 2004 01:55:37 +0000 (11:55 +1000)
committerNathan Scott <nathans@lips.borg.umn.edu>
Sat, 28 Aug 2004 01:55:37 +0000 (11:55 +1000)
SGI Modid: xfs-linux:xfs-kern:177663a
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_bmap.c

index a99ab0428f3c0dc42636b503ad0ced62f6f0ada9..4b0738238809c496d2b85f6815498159013ebd62 100644 (file)
@@ -3427,19 +3427,20 @@ xfs_bmap_do_search_extents(
        int             high;           /* high index of binary search */
        int             low;            /* low index of binary search */
 
-       /* Initialize the extent entry structure to catch access to
-       * uninitialized br_startblock field.
-       */
-
-        got.br_startoff = 0xffa5a5a5a5a5a5a5;
-        got.br_blockcount = 0xa55a5a5a5a5a5a5a;
-        got.br_state = XFS_EXT_INVALID;
-
-       #if XFS_BIG_BLKNOS
-               got.br_startblock = 0xffffa5a5a5a5a5a5;
-       #else
-               got.br_startblock = 0xffffa5a5;
-       #endif
+       /*
+        * Initialize the extent entry structure to catch access to
+        * uninitialized br_startblock field.
+        */
+       got.br_startoff = 0xffa5a5a5a5a5a5a5LL;
+       got.br_blockcount = 0xa55a5a5a5a5a5a5aLL;
+       got.br_state = XFS_EXT_INVALID;
+
+#if XFS_BIG_BLKNOS
+       got.br_startblock = 0xffffa5a5a5a5a5a5LL;
+#else
+       got.br_startblock = 0xffffa5a5;
+#endif
+
        if (lastx != NULLEXTNUM && lastx < nextents)
                ep = base + lastx;
        else