[patch] compile error with EXT2FS_DEBUG defined

root (punk@informatik.uni-bremen.de)
Sat, 10 Jul 1999 20:41:49 +0200


The subject says is:

diff -Nur linux-2.2.10/fs/ext2/balloc.c linux/fs/ext2/balloc.c
--- linux-2.2.10/fs/ext2/balloc.c Thu Oct 29 06:54:56 1998
+++ linux/fs/ext2/balloc.c Thu Jul 8 20:18:09 1999
@@ -368,11 +368,10 @@
struct super_block * sb;
struct ext2_group_desc * gdp;
struct ext2_super_block * es;
-
- *err = -ENOSPC;
#ifdef EXT2FS_DEBUG
static int goal_hits = 0, goal_attempts = 0;
#endif
+ *err = -ENOSPC;
sb = inode->i_sb;
if (!sb) {
printk ("ext2_new_block: nonexistent device");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/