summaryrefslogtreecommitdiff
path: root/c_src/libbcachefs.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-13 08:39:02 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-21 18:46:30 -0400
commit3304c90beca961b1bc8ae291015d4064bc3ce203 (patch)
tree86a996e4e9f71469af3e1a3c7d3186ec172a42d3 /c_src/libbcachefs.h
parentfee67d807bc36ff2cacb77286156798fd70e3f0c (diff)
format_opts.no_sb_at_end
Add an option for controlling whether we create a third redundant superblock at the end of the device. For image files that are going to immediately be resized, we want to skip this. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'c_src/libbcachefs.h')
-rw-r--r--c_src/libbcachefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c_src/libbcachefs.h b/c_src/libbcachefs.h
index defdbe2b..6e9de138 100644
--- a/c_src/libbcachefs.h
+++ b/c_src/libbcachefs.h
@@ -43,6 +43,7 @@ struct format_opts {
bool encrypted;
char *passphrase;
char *source;
+ bool no_sb_at_end;
};
static inline unsigned bcachefs_kernel_version(void)