diff options
| author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-21 22:19:57 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:18 -0400 |
| commit | 134915f3d38d830374603b84a9fe2e280f4814ed (patch) | |
| tree | 5c7c2ad3fab6863e048c6d9de098bdb7fefa77dc /fs/bcachefs/super-io.h | |
| parent | bcachefs: Fix a deadlock (diff) | |
| download | linux-134915f3d38d830374603b84a9fe2e280f4814ed.tar.gz linux-134915f3d38d830374603b84a9fe2e280f4814ed.zip | |
bcachefs: Go rw lazily
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super-io.h')
| -rw-r--r-- | fs/bcachefs/super-io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/super-io.h b/fs/bcachefs/super-io.h index 498a9e887d4e..afc92d14c254 100644 --- a/fs/bcachefs/super-io.h +++ b/fs/bcachefs/super-io.h @@ -141,7 +141,8 @@ bch2_journal_super_entries_add_common(struct bch_fs *, void bch2_sb_clean_renumber(struct bch_sb_field_clean *, int); -void bch2_fs_mark_clean(struct bch_fs *, bool); +int bch2_fs_mark_dirty(struct bch_fs *); +void bch2_fs_mark_clean(struct bch_fs *); void bch2_sb_field_to_text(struct printbuf *, struct bch_sb *, struct bch_sb_field *); |
