diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-07 20:56:27 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-07 20:56:33 -0400 |
commit | 7f77afa955e81da5a55b55e22e7e6f9fee1709a5 (patch) | |
tree | 8e5dc5c72c5255eb8e0897d1c0cc0f068a63bcef /libbcachefs/super.c | |
parent | 58867de5bdb2395ae18f802bdbfd9d1724b90356 (diff) |
Update bcachefs sources to d3da360412 bcachefs: Fold bucket_state in to BCH_DATA_TYPES()
Diffstat (limited to 'libbcachefs/super.c')
-rw-r--r-- | libbcachefs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs/super.c b/libbcachefs/super.c index 1af9bcc0..aee3206c 100644 --- a/libbcachefs/super.c +++ b/libbcachefs/super.c @@ -1563,6 +1563,8 @@ int bch2_dev_add(struct bch_fs *c, const char *path) goto err; } + bch2_dev_usage_init(ca); + ret = __bch2_dev_attach_bdev(ca, &sb); if (ret) { bch2_dev_free(ca); |