From 627a231239e050e70cf55a9eec316a8270a2fd63 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 18 Feb 2023 20:49:37 -0500 Subject: bcachefs: Switch ec_stripes_heap_lock to a mutex Signed-off-by: Kent Overstreet --- fs/bcachefs/bcachefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/bcachefs/bcachefs.h') diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index 5dc4b0c133ad..c9c7ffa9fa71 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -941,7 +941,7 @@ struct bch_fs { GENRADIX(struct gc_stripe) gc_stripes; ec_stripes_heap ec_stripes_heap; - spinlock_t ec_stripes_heap_lock; + struct mutex ec_stripes_heap_lock; /* ERASURE CODING */ struct list_head ec_stripe_head_list; -- cgit v1.2.3