2.6.7: fs/jfs/jfs_dtree.c compile error

From: Bob Tracy
Date: Thu Jun 24 2004 - 17:03:15 EST


Older compilers (including the currently recommended minimum, which is
2.95.3) cannot handle the declaration at line 388 in the 2.6.7 version
of linux/fs/jfs/jfs_dtree.c. Moving the declaration to line 377 is a
trivial fix.

376 if (index == (MAX_INLINE_DIRTABLE_ENTRY + 1)) {
377 /*
378 * It's time to move the inline table to an external
379 * page and begin to build the xtree
380 */
381 if (dbAlloc(ip, 0, sbi->nbperpage, &xaddr))
382 goto clean_up; /* No space */
383
384 /*
385 * Save the table, we're going to overwrite it with the
386 * xtree root
387 */
388 struct dir_table_slot temp_table[12];

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@xxxxxxxx
-----------------------------------------------------------------------
-
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/