summaryrefslogtreecommitdiff
path: root/libbcachefs/super-io.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/super-io.h')
-rw-r--r--libbcachefs/super-io.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libbcachefs/super-io.h b/libbcachefs/super-io.h
index f407c205..995b1c90 100644
--- a/libbcachefs/super-io.h
+++ b/libbcachefs/super-io.h
@@ -73,11 +73,6 @@ static inline __u64 jset_magic(struct bch_fs *c)
return __le64_to_cpu(bch2_sb_magic(c) ^ JSET_MAGIC);
}
-static inline __u64 pset_magic(struct bch_fs *c)
-{
- return __le64_to_cpu(bch2_sb_magic(c) ^ PSET_MAGIC);
-}
-
static inline __u64 bset_magic(struct bch_fs *c)
{
return __le64_to_cpu(bch2_sb_magic(c) ^ BSET_MAGIC);
@@ -136,4 +131,7 @@ static inline struct bch_member_cpu bch2_mi_to_cpu(struct bch_member *mi)
};
}
+size_t bch2_sb_field_to_text(char *, size_t, struct bch_sb *,
+ struct bch_sb_field *);
+
#endif /* _BCACHEFS_SUPER_IO_H */