aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_debug.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-07 11:10:48 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-07 11:10:48 -0500
commit5331be090567d9335476f876b2d85427cd7c4426 (patch)
tree356842da9d4c3966a9781f6eb05fa77beec144bc /fs/jfs/jfs_debug.h
parentd3f8fd765e94b9137e1f27bbb0ac25289f9e565c (diff)
parent7220c0177b45600eef2cfd3e5e57ab5b96f3222c (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6: JFS: Remove incorrect kgdb define JFS: call io_schedule() instead of schedule() to avoid deadlock JFS: Add lockdep annotations JFS: Avoid BUG() on a damaged file system
Diffstat (limited to 'fs/jfs/jfs_debug.h')
-rw-r--r--fs/jfs/jfs_debug.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/jfs/jfs_debug.h b/fs/jfs/jfs_debug.h
index ddffbbd4d955..7378798f0b21 100644
--- a/fs/jfs/jfs_debug.h
+++ b/fs/jfs/jfs_debug.h
@@ -39,10 +39,6 @@ extern void jfs_proc_clean(void);
39/* 39/*
40 * assert with traditional printf/panic 40 * assert with traditional printf/panic
41 */ 41 */
42#ifdef CONFIG_KERNEL_ASSERTS
43/* kgdb stuff */
44#define assert(p) KERNEL_ASSERT(#p, p)
45#else
46#define assert(p) do { \ 42#define assert(p) do { \
47 if (!(p)) { \ 43 if (!(p)) { \
48 printk(KERN_CRIT "BUG at %s:%d assert(%s)\n", \ 44 printk(KERN_CRIT "BUG at %s:%d assert(%s)\n", \
@@ -50,7 +46,6 @@ extern void jfs_proc_clean(void);
50 BUG(); \ 46 BUG(); \
51 } \ 47 } \
52} while (0) 48} while (0)
53#endif
54 49
55/* 50/*
56 * debug ON 51 * debug ON