diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-17 01:38:57 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-17 02:36:19 -0400 |
commit | ff86d4722124c300c40b85b6eb8ef2d410ab303c (patch) | |
tree | 05e54b0bf6397ecbb5e7717a7925ac6ed2645a68 /libbcachefs/super-io.h | |
parent | 800408be11898f6d53ceecfd894cce8860fda26a (diff) |
Update bcachefs sources to 0906b1fb49 bcachefs: fixes for 32 bit/big endian machines
Diffstat (limited to 'libbcachefs/super-io.h')
-rw-r--r-- | libbcachefs/super-io.h | 8 |
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 */ |