diff options
Diffstat (limited to 'drivers/md/bcache/bset.h')
| -rw-r--r-- | drivers/md/bcache/bset.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/md/bcache/bset.h b/drivers/md/bcache/bset.h index 57a9cff41546..ae115a253d73 100644 --- a/drivers/md/bcache/bset.h +++ b/drivers/md/bcache/bset.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef _BCACHE_BSET_H | 1 | #ifndef _BCACHE_BSET_H |
| 2 | #define _BCACHE_BSET_H | 2 | #define _BCACHE_BSET_H |
| 3 | 3 | ||
| 4 | #include <linux/slab.h> | ||
| 5 | |||
| 4 | /* | 6 | /* |
| 5 | * BKEYS: | 7 | * BKEYS: |
| 6 | * | 8 | * |
| @@ -142,6 +144,8 @@ | |||
| 142 | 144 | ||
| 143 | /* Btree key comparison/iteration */ | 145 | /* Btree key comparison/iteration */ |
| 144 | 146 | ||
| 147 | #define MAX_BSETS 4U | ||
| 148 | |||
| 145 | struct btree_iter { | 149 | struct btree_iter { |
| 146 | size_t size, used; | 150 | size_t size, used; |
| 147 | struct btree_iter_set { | 151 | struct btree_iter_set { |
