2.4: Fix for jbd compiler warnings.
PATCH 1/1 2.4: Fix for jbd compiler warnings.
Fixes two compiler warnings in jbd, one of which causes compile failure under gcc-3.3. (jbd.h fix from akpm.)
fs/jbd/revoke.c renamed from fs/jbd/revoke.c.=K0000=.orig +1 -1
@@ -136,7 +136,7 @@ repeat: oom:if (!journal_oom_retry)return -ENOMEM ; -jbd_debug (1 ,"ENOMEM in " __FUNCTION__", retrying.\n" ); +jbd_debug (1 ,"ENOMEM in %s, retrying.\n" , __FUNCTION__);yield (); goto repeat; }
include/linux/jbd.h renamed from include/linux/jbd.h.=K0000=.orig +1 -1
@@ -281,7 +281,7 @@ void buffer_assertion_failure(struct buf do { \ if (!(expr)) { \ printk(KERN_ERR "EXT3-fs unexpected failure: %s;\n", # expr); \ - printk(KERN_ERR ## why); \ + printk(KERN_ERR why); \ } \ } while (0) #define J_EXPECT(expr, why...) __journal_expect(expr, ## why)