mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.7: fs/jfs/jfs_dtree.c compile error
@ 2004-06-24 21:55 Bob Tracy
  2004-06-25 16:16 ` Dave Kleikamp
  0 siblings, 1 reply; 2+ messages in thread
From: Bob Tracy @ 2004-06-24 21:55 UTC (permalink / raw)
  To: linux-kernel

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@frus.com
-----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.7: fs/jfs/jfs_dtree.c compile error
  2004-06-24 21:55 2.6.7: fs/jfs/jfs_dtree.c compile error Bob Tracy
@ 2004-06-25 16:16 ` Dave Kleikamp
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Kleikamp @ 2004-06-25 16:16 UTC (permalink / raw)
  To: Bob Tracy; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-25 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-24 21:55 2.6.7: fs/jfs/jfs_dtree.c compile error Bob Tracy
2004-06-25 16:16 ` Dave Kleikamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®