diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-06-15 17:59:09 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:41 -0400 |
commit | 1d1867896210e0ed6d137cebea83abe01bbb8ffc (patch) | |
tree | 43d7954e778fe0d75fa5859e0e55e94eec9cfdde /fs/bcachefs/buckets.c | |
parent | 7dd1ebfa1ec156d54238126c3ce7f0fb31ea7a45 (diff) | |
download | linux-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/buckets.c')
-rw-r--r-- | fs/bcachefs/buckets.c | 2 |
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)); |