diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-11-30 12:38:54 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-11-30 12:51:13 -0500 |
commit | 0c7db4eca3e6519043c10288cb41f8a0ee634a0b (patch) | |
tree | fd788cd46ea5b14e287b48677a94384a5abcce27 /libbcachefs/super.c | |
parent | bca8b084ad754afc54e628d9db7721b90d9480b7 (diff) |
Update bcachefs sources to 62de7539dc bcachefs: Make bkey types globally unique
Diffstat (limited to 'libbcachefs/super.c')
-rw-r--r-- | libbcachefs/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbcachefs/super.c b/libbcachefs/super.c index 0eb6b7e7..b33117dd 100644 --- a/libbcachefs/super.c +++ b/libbcachefs/super.c @@ -9,6 +9,7 @@ #include "bcachefs.h" #include "alloc_background.h" #include "alloc_foreground.h" +#include "bkey_sort.h" #include "btree_cache.h" #include "btree_gc.h" #include "btree_update_interior.h" @@ -580,7 +581,7 @@ static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts) INIT_LIST_HEAD(&c->ec_new_stripe_list); mutex_init(&c->ec_new_stripe_lock); - mutex_init(&c->ec_stripes_lock); + mutex_init(&c->ec_stripe_create_lock); spin_lock_init(&c->ec_stripes_heap_lock); seqcount_init(&c->gc_pos_lock); |