summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-05-15 15:50:30 +0200
committerCarlos Maiolino <cem@kernel.org>2026-06-09 09:14:41 +0200
commit1113a6d6d5d1336f4415fa1367aac0f853f0892d (patch)
tree473f0b45d90593062ad8b1fd4c55fb4666838bee /scripts/dummy-tools/python3
parent79c1363d33c170b844706a571f150192ffcefbdb (diff)
xfs: remove the i_ino field in struct xfs_inode
Now that the VFS inode has a u64 i_ino field, there is no need to store a copy of the inode number in the xfs_inode structure. Introduce an I_INO() wrapper as a shortcut to the inode number so that we don't have to propagate the VFS inode everywhere. The only non-obvious part is the clearing of i_ino to 0 for RCU freeing the inode. None of this calls into VFS paths, which makes clearing the VFS inode field here just as safe as clearing the old field in the xfs_inode. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions