diff options
author | Josef Bacik <jbacik@fb.com> | 2014-10-10 16:57:09 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-14 10:39:40 +0200 |
commit | 2ba12173d59af0b3f8885494eae9efbe15d143d6 (patch) | |
tree | a9ebce261161de1825204df3e9397f153b84ab1f /kerncompat.h | |
parent | cdb9e22e292275237cbd93b9c4326382daff70f1 (diff) |
Btrfs-progs: update rbtree libs
While debugging a broken fs we were seeing hangs in the rb_erase loops. The
rbtree was simple and wasn't corrupted so it appeared to be a bug in our rbtree
library. Updating to the kernels latest rbtree code made the infinite loop go
away, so pull it back. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'kerncompat.h')
-rw-r--r-- | kerncompat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kerncompat.h b/kerncompat.h index 520bc9e0..8afadc88 100644 --- a/kerncompat.h +++ b/kerncompat.h @@ -345,6 +345,11 @@ struct __una_u64 { __le64 x; } __attribute__((__packed__)); #define put_unaligned_le64(val,p) (((struct __una_u64 *)(p))->x = cpu_to_le64(val)) #endif +#ifndef true +#define true 1 +#define false 0 +#endif + #ifndef noinline #define noinline #endif |