summaryrefslogtreecommitdiff
path: root/kerncompat.h
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.de>2014-05-07 13:07:16 -0700
committerDavid Sterba <dsterba@suse.cz>2014-08-22 14:39:33 +0200
commit2ab405af95d43972b57c7806981220a6949df643 (patch)
tree0e8a1c39ba870c923bb4c193f64b0be8e97a5167 /kerncompat.h
parent2dfafb471004bdd78c191d14d2792eb9ec391987 (diff)
btrfs-progs: import ulist
qgroup-verify.c wants this for walking root refs. Signed-off-by: Mark Fasheh <mfasheh@suse.de> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'kerncompat.h')
-rw-r--r--kerncompat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerncompat.h b/kerncompat.h
index f370cd8d..652275e3 100644
--- a/kerncompat.h
+++ b/kerncompat.h
@@ -235,7 +235,7 @@ static inline long IS_ERR(const void *ptr)
#define BUG_ON(c) assert(!(c))
#define WARN_ON(c) assert(!(c))
-
+#define ASSERT(c) assert(c)
#define container_of(ptr, type, member) ({ \
const typeof( ((type *)0)->member ) *__mptr = (ptr); \