xRhino Linux Kernel - Bugs


Summary |  Forums |  Bugs |  Patches |  Lists |  Tasks |  Docs |  Surveys |  News |  Source |  Files | 

Submit A Bug | Open Bugs | Admin

[ Bug #59 ] 2.2.21 xrhino doesn't build without journalled filesystem

Date:
2002-Jul-10 22:12
Submitted By:
yoshac
Assigned To:
Nobody
Category:
None
Priority:
5
Bug Group:
code cleanup
Resolution:
None
Summary:
2.2.21 xrhino doesn't build without journalled filesystem

Original Submission:
Conditional compiles are required for building xrhino without the journalled filesystem. Details below.


./include/linux/locks.hi:13
#ifdef CONFIG_JFS_FS
extern void jfs_prelock_buffer_check(struct buffer_head *);
#endif

./include/linux/locks.hi:35
#ifdef CONFIG_JFS_FS
/* @@@ Debugging for the journaling code */
jfs_prelock_buffer_check(bh);
#endif

kernel/ksyms.c:70
#ifdef CONFIG_JFS_FS
extern void jfs_preclean_buffer_check(struct buffer_head *);
extern void jfs_prelock_buffer_check(struct buffer_head *);
#endif

kernel/ksyms.c:295
#ifdef CONFIG_JFS_FS
/* JFS debugging only: */
EXPORT_SYMBOL(jfs_prelock_buffer_check);
EXPORT_SYMBOL(jfs_preclean_buffer_check);
#endif

fs/buffer.c:959
#ifdef CONFIG_JFS_FS
/* If we have just written a checkpointed jfs buffer, then we
can now unlink it from its original transaction: there's no
need to keep the transaction pinned in the log once the datat
is safely on disk. */
if (dispose == BUF_CLEAN && buf->b_cp_transaction)
journal_remove_checkpoint(buf);
#endif


include/linix/fs.h:1013
#ifdef CONFIG_JFS_FS
extern void jfs_preclean_buffer_check(struct buffer_head *);
jfs_preclean_buffer_check(bh); /* @@@ Expensive debugging */
#endif


Add A Comment:

You Are NOT Logged In

Please log in, so followups can be emailed to you.

If you cannot login, then enter your email address here:

Followups

Comment Date By
Also the merge of low latency kernel has missed the call to the jfs checking code. Needs to be added back so that it reads as follows:


include/linux/fs.h:961

#define mark_buffer_dirty(bh,flag) \
do { \
#ifdef CONFIG_JFS_FS
extern void jfs_preclean_buffer_check(struct buffer_head *); \
jfs_preclean_buffer_check(bh); /* @@@ Expensive debugging */ \
#endif
if (!test_and_set_bit(BH_Dirty, &(bh)->b_state)) { \
set_writetime(bh, flag); \
if ((bh)->b_list != BUF_DIRTY) \
refile_buffer(bh); \
} \
mark_buffer_highprio(bh); \
conditional_schedule(); \
} while(0)
2002-Jul-13 05:55Nobody

Dependent on Task
summary

No Changes Have Been Made to This Bug