Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221831
b: refs/heads/master
c: 3beec1d
h: refs/heads/master
i:
  221829: 8fabe1f
  221827: e21366d
  221823: de404f0
v: v3
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed Oct 22, 2010
1 parent 4bd6541 commit 006819d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: aaa8e2b34c35d67abf1892cd62ea4e7565ca262c
refs/heads/master: 3beec1d446fba335f07787636920892dd3b2c658
10 changes: 5 additions & 5 deletions trunk/drivers/block/drbd/drbd_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ struct drbd_conf;
#define D_ASSERT(exp) if (!(exp)) \
dev_err(DEV, "ASSERT( " #exp " ) in %s:%d\n", __FILE__, __LINE__)

#define ERR_IF(exp) if (({ \
int _b = (exp) != 0; \
if (_b) dev_err(DEV, "%s: (%s) in %s:%d\n", \
__func__, #exp, __FILE__, __LINE__); \
_b; \
#define ERR_IF(exp) if (({ \
int _b = (exp) != 0; \
if (_b) dev_err(DEV, "ASSERT FAILED: %s: (%s) in %s:%d\n", \
__func__, #exp, __FILE__, __LINE__); \
_b; \
}))

/* Defines to control fault insertion */
Expand Down

0 comments on commit 006819d

Please sign in to comment.