2004-06-24 21:59:05

by Bob Tracy

[permalink] [raw]
Subject: 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];

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------


2004-06-25 19:34:40

by Dave Kleikamp

[permalink] [raw]
Subject: Re: 2.6.7: fs/jfs/jfs_dtree.c compile error

On Thu, 2004-06-24 at 16:55, Bob Tracy wrote:
> 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.
--
David Kleikamp
IBM Linux Technology Center