2.6.7: fs/jfs/jfs_dtree.c compile error
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];
Signature · 4 lines
----------------------------------------------------------------------- Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org [email protected] -----------------------------------------------------------------------
Quoted 4 lines · Bob Tracy
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.
This is fixed in the latest BK tree.
Signature · 2 lines
David Kleikamp IBM Linux Technology Center