summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/super-io.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-03-22 04:13:46 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:18 +0200
commit03e183cb5d429a3bb53816d70da7c19f0745909e (patch)
tree76b1c8fd41a84cfc544dca8872faa1d516ca5b17 /fs/bcachefs/super-io.h
parentbcachefs: Go rw lazily (diff)
downloadlinux-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.h2
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: */