mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
Update bcachefs sources to ffc900d593 fixup! bcachefs: Mark superblocks transactionally
This commit is contained in:
parent
0e05fa6dfe
commit
19f921604d
@ -1 +1 @@
|
||||
313b24b652d521c6ba4a965f7033c73575923a91
|
||||
ffc900d5936ae538e34d18a6ce739d0a5a9178cf
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user