diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-22 04:13:46 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:18 +0200 |
commit | 03e183cb5d429a3bb53816d70da7c19f0745909e (patch) | |
tree | 76b1c8fd41a84cfc544dca8872faa1d516ca5b17 /fs/bcachefs/super-io.h | |
parent | bcachefs: Go rw lazily (diff) | |
download | linux-03e183cb5d429a3bb53816d70da7c19f0745909e.tar.xz linux-03e183cb5d429a3bb53816d70da7c19f0745909e.zip |
bcachefs: Verify fs hasn't been modified before going rw
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super-io.h b/fs/bcachefs/super-io.h index afc92d14c254..31b8b8307ac3 100644 --- a/fs/bcachefs/super-io.h +++ b/fs/bcachefs/super-io.h @@ -89,7 +89,7 @@ int bch2_sb_realloc(struct bch_sb_handle *, unsigned); const char *bch2_sb_validate(struct bch_sb_handle *); int bch2_read_super(const char *, struct bch_opts *, struct bch_sb_handle *); -void bch2_write_super(struct bch_fs *); +int bch2_write_super(struct bch_fs *); /* BCH_SB_FIELD_journal: */ |