summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/bcachefs.h
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-10-22 17:09:53 -0400
commit627a231239e050e70cf55a9eec316a8270a2fd63 (patch)
tree6883f90ff71a379d925ff15790fc1162f367111c /fs/bcachefs/bcachefs.h
parent5e2d8be8bd7985aa590dcccec14fb38fb529b3f0 (diff)
downloadlinux-stable-627a231239e050e70cf55a9eec316a8270a2fd63.tar.gz
linux-stable-627a231239e050e70cf55a9eec316a8270a2fd63.tar.bz2
linux-stable-627a231239e050e70cf55a9eec316a8270a2fd63.zip
bcachefs: Switch ec_stripes_heap_lock to a mutex
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
-rw-r--r--fs/bcachefs/bcachefs.h2
1 files changed, 1 insertions, 1 deletions
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;