diff options
| author | Ye Bin <[email protected]> | 2022-09-24 07:52:31 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-10-01 03:46:54 +0000 |
| commit | fdc2a3c75dd8345c5b48718af90bad1a7811bedb (patch) | |
| tree | 182be5313e5f5264df4fe2eaca790fd074d97ace /fs/ext4/fast_commit.h | |
| parent | ext4: factor out ext4_free_ext_path() (diff) | |
| download | kernel-fdc2a3c75dd8345c5b48718af90bad1a7811bedb.tar.gz kernel-fdc2a3c75dd8345c5b48718af90bad1a7811bedb.zip | |
ext4: introduce EXT4_FC_TAG_BASE_LEN helper
Introduce EXT4_FC_TAG_BASE_LEN helper for calculate length of
struct ext4_fc_tl.
Signed-off-by: Ye Bin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.h')
| -rw-r--r-- | fs/ext4/fast_commit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext4/fast_commit.h b/fs/ext4/fast_commit.h index 1db12847a83b..a6154c3ed135 100644 --- a/fs/ext4/fast_commit.h +++ b/fs/ext4/fast_commit.h @@ -70,6 +70,9 @@ struct ext4_fc_tail { __le32 fc_crc; }; +/* Tag base length */ +#define EXT4_FC_TAG_BASE_LEN (sizeof(struct ext4_fc_tl)) + /* * Fast commit status codes */ |
