summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-02-18 20:49:37 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-08-28 21:11:07 -0400
commit300f2a98793b5eec677bf820ce49f95973950cc3 (patch)
treed10c4a674d3f62a6a9fe2dbd25cd07aff27fb84f /fs/bcachefs/super.c
parent92b7bf1aeb7d7cc590963ed7609c58200bfd7d13 (diff)
bcachefs: Switch ec_stripes_heap_lock to a mutex
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
-rw-r--r--fs/bcachefs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index f703e41c7560..b030d0bb26e7 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -706,7 +706,7 @@ static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts)
INIT_LIST_HEAD(&c->data_progress_list);
mutex_init(&c->data_progress_lock);
- spin_lock_init(&c->ec_stripes_heap_lock);
+ mutex_init(&c->ec_stripes_heap_lock);
seqcount_init(&c->gc_pos_lock);