diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-18 20:49:37 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:53 -0400 |
commit | 627a231239e050e70cf55a9eec316a8270a2fd63 (patch) | |
tree | 6883f90ff71a379d925ff15790fc1162f367111c /fs/bcachefs/bcachefs.h | |
parent | 5e2d8be8bd7985aa590dcccec14fb38fb529b3f0 (diff) |
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.h | 2 |
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; |