diff options
author | Ryusuke Konishi <[email protected]> | 2024-08-27 02:41:11 +0900 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-09-01 20:43:43 -0700 |
commit | d7cee0b342cd90abe5d09976a69d1a22ad0c3441 (patch) | |
tree | 446cbdb1d7bc0093dcc72a14474d9f480e95eb15 /scripts/generate_rust_analyzer.py | |
parent | 21176c0ae4ac9ab5ca7e1b7e6c234dee2a0022f0 (diff) |
nilfs2: separate inode type information from i_state field
In nilfs_iget_locked() and nilfs_ilookup(), which are used to find or
obtain nilfs2 inodes, the nilfs_iget_args structure used to identify
inodes has type information divided into multiple booleans, making type
determination complicated.
Simplify inode type determination by consolidating inode type information
into an unsigned integer represented by a comibination of flags and by
separating the type identification information for on-memory inodes from
the i_state member in the nilfs_inode_info structure.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ryusuke Konishi <[email protected]>
Cc: Huang Xiaojia <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions