diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-17 22:55:59 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-18 00:49:48 -0400 |
| commit | 78cf0ae636a55e0bef99308d305d4e1f8a6c4147 (patch) | |
| tree | 87257f8efce2bfa4111c22370d831db39a27d14b /fs/bcachefs/inode_format.h | |
| parent | b96f8cd3870a140524fb8cec58790a4be04f41d9 (diff) | |
| download | linux-next-78cf0ae636a55e0bef99308d305d4e1f8a6c4147.tar.gz linux-next-78cf0ae636a55e0bef99308d305d4e1f8a6c4147.zip | |
bcachefs: INODE_STR_HASH() for bch_inode_unpacked
Trivial cleanup - add a normal BITMASK() helper for bch_inode_unpacked.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/inode_format.h')
| -rw-r--r-- | fs/bcachefs/inode_format.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/bcachefs/inode_format.h b/fs/bcachefs/inode_format.h index a204e46b6b47..7928d0c6954f 100644 --- a/fs/bcachefs/inode_format.h +++ b/fs/bcachefs/inode_format.h @@ -150,9 +150,9 @@ enum __bch_inode_flags { #undef x }; -LE32_BITMASK(INODE_STR_HASH, struct bch_inode, bi_flags, 20, 24); -LE32_BITMASK(INODE_NR_FIELDS, struct bch_inode, bi_flags, 24, 31); -LE32_BITMASK(INODE_NEW_VARINT, struct bch_inode, bi_flags, 31, 32); +LE32_BITMASK(INODEv1_STR_HASH, struct bch_inode, bi_flags, 20, 24); +LE32_BITMASK(INODEv1_NR_FIELDS, struct bch_inode, bi_flags, 24, 31); +LE32_BITMASK(INODEv1_NEW_VARINT,struct bch_inode, bi_flags, 31, 32); LE64_BITMASK(INODEv2_STR_HASH, struct bch_inode_v2, bi_flags, 20, 24); LE64_BITMASK(INODEv2_NR_FIELDS, struct bch_inode_v2, bi_flags, 24, 31); |
