Skip to content

Commit 5c16c57

Browse files
author
Kent Overstreet
committed
bcachefs: Split out journal_seq_blacklist_format.h
Signed-off-by: Kent Overstreet <[email protected]>
1 parent 2499805 commit 5c16c57

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

fs/bcachefs/bcachefs_format.h

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ struct bch_sb_field {
507507
#include "dirent_format.h"
508508
#include "disk_groups_format.h"
509509
#include "inode_format.h"
510+
#include "journal_seq_blacklist_format.h"
510511
#include "logged_ops_format.h"
511512
#include "quota_format.h"
512513
#include "reflink_format.h"
@@ -666,16 +667,6 @@ struct bch_sb_field_clean {
666667
__u64 _data[];
667668
};
668669

669-
struct journal_seq_blacklist_entry {
670-
__le64 start;
671-
__le64 end;
672-
};
673-
674-
struct bch_sb_field_journal_seq_blacklist {
675-
struct bch_sb_field field;
676-
struct journal_seq_blacklist_entry start[];
677-
};
678-
679670
struct bch_sb_field_errors {
680671
struct bch_sb_field field;
681672
struct bch_sb_field_error_entry {
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
2+
#ifndef _BCACHEFS_JOURNAL_SEQ_BLACKLIST_FORMAT_H
3+
#define _BCACHEFS_JOURNAL_SEQ_BLACKLIST_FORMAT_H
4+
5+
struct journal_seq_blacklist_entry {
6+
__le64 start;
7+
__le64 end;
8+
};
9+
10+
struct bch_sb_field_journal_seq_blacklist {
11+
struct bch_sb_field field;
12+
struct journal_seq_blacklist_entry start[];
13+
};
14+
15+
#endif /* _BCACHEFS_JOURNAL_SEQ_BLACKLIST_FORMAT_H */

0 commit comments

Comments
 (0)