Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186087
b: refs/heads/master
c: c7e8d4d
h: refs/heads/master
i:
  186085: 8f4582e
  186083: 4d2f690
  186079: 1f5cf53
v: v3
  • Loading branch information
Christoph Egger authored and Jan Kara committed Mar 4, 2010
1 parent f2380c7 commit 7b070b0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e1f5c67a1994312300ebc41195e6f5bea2f6c065
refs/heads/master: c7e8d4d6dceeb6fd236991f590d3fa6f97c59874
11 changes: 0 additions & 11 deletions trunk/include/linux/jbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,19 +246,8 @@ typedef struct journal_superblock_s

#define J_ASSERT(assert) BUG_ON(!(assert))

#if defined(CONFIG_BUFFER_DEBUG)
void buffer_assertion_failure(struct buffer_head *bh);
#define J_ASSERT_BH(bh, expr) \
do { \
if (!(expr)) \
buffer_assertion_failure(bh); \
J_ASSERT(expr); \
} while (0)
#define J_ASSERT_JH(jh, expr) J_ASSERT_BH(jh2bh(jh), expr)
#else
#define J_ASSERT_BH(bh, expr) J_ASSERT(expr)
#define J_ASSERT_JH(jh, expr) J_ASSERT(expr)
#endif

#if defined(JBD_PARANOID_IOFAIL)
#define J_EXPECT(expr, why...) J_ASSERT(expr)
Expand Down
11 changes: 0 additions & 11 deletions trunk/include/linux/jbd2.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,19 +284,8 @@ typedef struct journal_superblock_s

#define J_ASSERT(assert) BUG_ON(!(assert))

#if defined(CONFIG_BUFFER_DEBUG)
void buffer_assertion_failure(struct buffer_head *bh);
#define J_ASSERT_BH(bh, expr) \
do { \
if (!(expr)) \
buffer_assertion_failure(bh); \
J_ASSERT(expr); \
} while (0)
#define J_ASSERT_JH(jh, expr) J_ASSERT_BH(jh2bh(jh), expr)
#else
#define J_ASSERT_BH(bh, expr) J_ASSERT(expr)
#define J_ASSERT_JH(jh, expr) J_ASSERT(expr)
#endif

#if defined(JBD2_PARANOID_IOFAIL)
#define J_EXPECT(expr, why...) J_ASSERT(expr)
Expand Down

0 comments on commit 7b070b0

Please sign in to comment.