Update bcachefs sources to ffc900d593 fixup! bcachefs: Mark superblocks transactionally

This commit is contained in:
Kent Overstreet 2021-01-26 21:00:48 -05:00
parent 0e05fa6dfe
commit 19f921604d
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
313b24b652d521c6ba4a965f7033c73575923a91
ffc900d5936ae538e34d18a6ce739d0a5a9178cf

View File

@ -1713,12 +1713,13 @@ int bch2_dev_online(struct bch_fs *c, const char *path)
goto err;
}
ca = bch_dev_locked(c, dev_idx);
if (bch2_trans_mark_dev_sb(c, NULL, ca)) {
err = "bch2_trans_mark_dev_sb() error";
goto err;
}
ca = bch_dev_locked(c, dev_idx);
if (ca->mi.state == BCH_MEMBER_STATE_RW) {
err = __bch2_dev_read_write(c, ca);
if (err)