Christoph Hellwig
dec58f1dfd
xfs: work around bogus gcc warning in xfs_allocbt_init_cursor
...
GCC 4.6 complains about an array subscript is above array bounds when
using the btree index to index into the agf_levels array. The only
two indices passed in are 0 and 1, and we have an assert insuring that.
Replace the trick of using the array index directly with using constants
in the already existing branch for assigning the XFS_BTREE_LASTREC_UPDATE
flag.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2011-07-08 14:34:18 +02:00
..
2011-07-08 14:34:14 +02:00
2011-05-25 08:39:26 -07:00
2011-03-07 10:09:35 +11:00
2010-10-05 12:16:37 +02:00
2011-03-21 14:24:56 -07:00
2011-01-07 17:50:29 +11:00
2011-05-24 11:17:22 -05:00
2011-07-08 14:34:18 +02:00
2008-10-30 17:14:34 +11:00
2011-05-24 11:17:22 -05:00
2011-05-24 11:17:22 -05:00
2009-06-10 17:07:47 +02:00
2010-12-23 11:57:37 +11:00
2009-01-09 15:46:44 +11:00
2010-01-20 10:47:48 +11:00
2011-06-23 22:13:51 -05:00
2010-01-20 10:47:48 +11:00
2008-08-13 15:41:12 +10:00
2009-01-09 15:53:54 +11:00
2010-07-26 13:16:33 -05:00
2010-01-15 15:31:38 -06:00
2011-05-25 10:48:38 -05:00
2011-05-25 10:48:36 -05:00
2008-10-30 16:58:50 +11:00
2009-12-14 23:08:16 -06:00
2010-12-02 16:31:13 +11:00
2010-10-18 15:07:38 -05:00
2011-03-31 11:26:23 -03:00
2010-12-16 16:05:22 -06:00
2011-03-07 10:08:35 +11:00
2010-01-20 10:47:17 +11:00
2011-04-28 13:25:29 -05:00
2010-01-15 15:31:23 -06:00
2010-10-18 15:08:08 -05:00
2010-07-26 13:16:51 -05:00
2010-07-26 13:16:33 -05:00
2009-03-29 09:55:42 +02:00
2010-10-18 15:08:07 -05:00
2011-03-07 10:08:35 +11:00
2010-01-15 15:31:38 -06:00
2010-07-26 13:16:33 -05:00
2008-12-01 11:37:35 +11:00
2011-03-07 10:05:35 +11:00
2010-01-20 10:47:25 +11:00
2011-03-07 10:08:35 +11:00
2011-03-07 10:09:35 +11:00
2011-01-28 09:01:33 -06:00
2010-12-20 11:59:49 +11:00
2010-11-10 12:00:48 -06:00
2010-07-26 13:16:51 -05:00
2010-10-18 15:08:08 -05:00
2011-03-07 10:05:35 +11:00
2011-01-11 20:28:17 -06:00
2010-10-18 15:07:38 -05:00
2009-02-09 08:37:14 +01:00
2011-03-07 10:08:35 +11:00
2009-09-01 12:45:39 -05:00
2011-06-23 22:13:31 -05:00
2011-07-06 15:44:40 -05:00
2010-07-26 13:16:36 -05:00
2011-05-26 10:49:11 -07:00
2011-06-23 22:13:31 -05:00
2009-08-31 14:46:22 -05:00
2011-03-07 10:06:35 +11:00
2010-12-16 16:05:51 -06:00
2011-04-08 08:09:12 -05:00
2010-06-24 11:35:17 +10:00
2011-05-24 11:17:13 -05:00
2011-04-28 13:18:04 -05:00
2011-05-19 12:03:45 -05:00
2010-05-24 10:33:39 -05:00
2011-06-16 10:52:39 -05:00
2011-04-28 13:18:04 -05:00
2011-04-28 13:25:29 -05:00
2011-05-24 11:17:13 -05:00
2011-02-01 11:42:43 +01:00
2010-01-15 15:34:22 -06:00
2011-03-07 10:01:35 +11:00
2010-12-09 17:07:02 -06:00
2011-03-07 10:08:35 +11:00
2011-03-07 10:08:35 +11:00
2011-03-07 10:08:35 +11:00
2010-02-12 13:43:57 -06:00
2010-10-18 15:08:08 -05:00
2011-05-09 18:35:04 -05:00
2011-03-26 09:14:44 +11:00
2010-12-20 11:59:49 +11:00
2011-03-31 11:26:23 -03:00
2011-04-08 12:45:07 +10:00
2009-02-09 08:37:14 +01:00
2011-07-06 15:44:40 -05:00
2011-02-22 20:32:28 -06:00
2011-04-28 13:18:04 -05:00
2010-10-18 15:08:06 -05:00
2010-10-18 15:08:06 -05:00
2011-06-23 22:13:46 -05:00
2011-03-26 09:13:08 +11:00
2009-12-14 23:08:16 -06:00