summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-06-15 17:59:09 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:41 -0400
commit1d1867896210e0ed6d137cebea83abe01bbb8ffc (patch)
tree43d7954e778fe0d75fa5859e0e55e94eec9cfdde /fs/bcachefs
parent7dd1ebfa1ec156d54238126c3ce7f0fb31ea7a45 (diff)
downloadlinux-stable-1d1867896210e0ed6d137cebea83abe01bbb8ffc.tar.gz
linux-stable-1d1867896210e0ed6d137cebea83abe01bbb8ffc.tar.bz2
linux-stable-1d1867896210e0ed6d137cebea83abe01bbb8ffc.zip
bcachefs: delete a slightly faulty assertion
state lock isn't held at startup Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs')
-rw-r--r--fs/bcachefs/buckets.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/bcachefs/buckets.c b/fs/bcachefs/buckets.c
index 1683833568a7..2c9ba18357fd 100644
--- a/fs/bcachefs/buckets.c
+++ b/fs/bcachefs/buckets.c
@@ -1977,8 +1977,6 @@ int bch2_dev_buckets_resize(struct bch_fs *c, struct bch_dev *ca, u64 nbuckets)
int ret = -ENOMEM;
unsigned i;
- lockdep_assert_held(&c->state_lock);
-
memset(&free, 0, sizeof(free));
memset(&free_inc, 0, sizeof(free_inc));
memset(&alloc_heap, 0, sizeof(alloc_heap));