summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-11-20 16:16:57 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:32 -0400
commitbd7e82ee2ad45540797d3e36dba24f9824e431ed (patch)
tree9dc7cbb337b20c67d9f5c448b101aa6ab8b3c40f /fs/bcachefs/super.c
parent4de774952b12963a2970c77eeb6ebbd48c1d20a4 (diff)
bcachefs: kill ca->freelist_lock
All uses were supposed to be switched over to c->freelist_lock Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
-rw-r--r--fs/bcachefs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index 8c7b56a95f4b..3ad4c0ecbe12 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -1059,7 +1059,6 @@ static struct bch_dev *__bch2_dev_alloc(struct bch_fs *c,
writepoint_init(&ca->copygc_write_point, BCH_DATA_USER);
- spin_lock_init(&ca->freelist_lock);
bch2_dev_copygc_init(ca);
INIT_WORK(&ca->io_error_work, bch2_io_error_work);