mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
Update bcachefs sources to 00c04f8485 bcachefs: Fix for shutting down before fs started marking it clean
This commit is contained in:
parent
ed0993c1e2
commit
88da4def1b
@ -1 +1 @@
|
||||
ca1a2ff489de98e3adc2a49c49e4b26a2f7fd6d3
|
||||
00c04f8485db33178b98f67d7c106e3b49fb5b67
|
||||
|
@ -330,7 +330,8 @@ void bch2_fs_read_only(struct bch_fs *c)
|
||||
|
||||
if (!bch2_journal_error(&c->journal) &&
|
||||
!test_bit(BCH_FS_ERROR, &c->flags) &&
|
||||
!test_bit(BCH_FS_EMERGENCY_RO, &c->flags))
|
||||
!test_bit(BCH_FS_EMERGENCY_RO, &c->flags) &&
|
||||
test_bit(BCH_FS_STARTED, &c->flags))
|
||||
bch2_fs_mark_clean(c, true);
|
||||
|
||||
if (c->state != BCH_FS_STOPPING)
|
||||
|
Loading…
Reference in New Issue
Block a user