bcachefs: Split out journal_seq_blacklist_format.h

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2024-05-28 17:20:40 -04:00
parent 24998050b6
commit 5c16c57488
2 changed files with 16 additions and 10 deletions

View File

@ -507,6 +507,7 @@ struct bch_sb_field {
#include "dirent_format.h" #include "dirent_format.h"
#include "disk_groups_format.h" #include "disk_groups_format.h"
#include "inode_format.h" #include "inode_format.h"
#include "journal_seq_blacklist_format.h"
#include "logged_ops_format.h" #include "logged_ops_format.h"
#include "quota_format.h" #include "quota_format.h"
#include "reflink_format.h" #include "reflink_format.h"
@ -666,16 +667,6 @@ struct bch_sb_field_clean {
__u64 _data[]; __u64 _data[];
}; };
struct journal_seq_blacklist_entry {
__le64 start;
__le64 end;
};
struct bch_sb_field_journal_seq_blacklist {
struct bch_sb_field field;
struct journal_seq_blacklist_entry start[];
};
struct bch_sb_field_errors { struct bch_sb_field_errors {
struct bch_sb_field field; struct bch_sb_field field;
struct bch_sb_field_error_entry { struct bch_sb_field_error_entry {

View File

@ -0,0 +1,15 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHEFS_JOURNAL_SEQ_BLACKLIST_FORMAT_H
#define _BCACHEFS_JOURNAL_SEQ_BLACKLIST_FORMAT_H
struct journal_seq_blacklist_entry {
__le64 start;
__le64 end;
};
struct bch_sb_field_journal_seq_blacklist {
struct bch_sb_field field;
struct journal_seq_blacklist_entry start[];
};
#endif /* _BCACHEFS_JOURNAL_SEQ_BLACKLIST_FORMAT_H */