diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2023-12-13 09:32:22 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-01-04 23:42:21 -0500 |
commit | 8a4fd33d879fb303b207f06ea6340d73f698c4ed (patch) | |
tree | 7b336fe816dfd60c2bfc0c581d86b3b17759e0f6 /include/linux/jbd2.h | |
parent | jbd2: replace journal state flag by checking errseq (diff) | |
download | wireguard-linux-8a4fd33d879fb303b207f06ea6340d73f698c4ed.tar.xz wireguard-linux-8a4fd33d879fb303b207f06ea6340d73f698c4ed.zip |
jbd2: remove unused 'JBD2_CHECKPOINT_IO_ERROR' and 'j_atomic_flags'
Since 'JBD2_CHECKPOINT_IO_ERROR' and j_atomic_flags' are not useful
anymore after fs dev's errseq is imported into jbd2, just remove them.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20231213013224.2100050-4-chengzhihao1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/jbd2.h')
-rw-r--r-- | include/linux/jbd2.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index cea1aa70ae36..971f3e826e15 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -756,11 +756,6 @@ struct journal_s unsigned long j_flags; /** - * @j_atomic_flags: Atomic journaling state flags. - */ - unsigned long j_atomic_flags; - - /** * @j_errno: * * Is there an outstanding uncleared error on the journal (from a prior @@ -1407,12 +1402,6 @@ JBD2_FEATURE_INCOMPAT_FUNCS(fast_commit, FAST_COMMIT) JBD2_JOURNAL_FLUSH_ZEROOUT) /* - * Journal atomic flag definitions - */ -#define JBD2_CHECKPOINT_IO_ERROR 0x001 /* Detect io error while writing - * buffer back to disk */ - -/* * Function declarations for the journaling transaction and buffer * management */ |