I'm not sure what's causing the problem, but Andrew Morton send me this 
patch which gets rid of the problem for him.  The fmt string that 
jfs_err() is invoked with is sufficient to identify the location, so 
__FILE__ and __LINE__ are not really needed anyway.

Linus, please apply.

Thanks,
Shaggy

diff -puN fs/jfs/jfs_debug.h~jfs-build-fix fs/jfs/jfs_debug.h
--- 25/fs/jfs/jfs_debug.h~jfs-build-fix 2003-02-12 02:20:40.000000000 
-0800
+++ 25-akpm/fs/jfs/jfs_debug.h  2003-02-12 02:20:46.000000000 -0800
@@ -89,8 +89,7 @@ extern void dump_mem(char *label, void *
 /* error event message: e.g., i/o error */
 #define jfs_err(fmt, arg...) do {                      \
        if (jfsloglevel >= JFS_LOGLEVEL_ERR)            \
-               printk(KERN_ERR "%s:%d " fmt "\n",      \
-                      __FILE__, __LINE__, ## arg);     \
+               printk(KERN_ERR fmt "\n", ## arg);      \
 } while (0)
 
 /*


-- 
David Kleikamp
IBM Linux Technology Center

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to