]> git.ipfire.org Git - thirdparty/linux.git/commit
vfs: widen inode hash/lookup functions to u64
authorJeff Layton <jlayton@kernel.org>
Wed, 4 Mar 2026 15:32:31 +0000 (10:32 -0500)
committerChristian Brauner <brauner@kernel.org>
Fri, 6 Mar 2026 13:31:02 +0000 (14:31 +0100)
commit96fefcabf340fcf8b3208dcd8685961955a66040
tree6029a33b7b6d3d3b9447a84173d30e36ccc8e401
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
vfs: widen inode hash/lookup functions to u64

Change the inode hash/lookup VFS API functions to accept u64 parameters
instead of unsigned long for inode numbers and hash values. This is
preparation for widening i_ino itself to u64, which will allow
filesystems to store full 64-bit inode numbers on 32-bit architectures.

Since unsigned long implicitly widens to u64 on all architectures, this
change is backward-compatible with all existing callers.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260304-iino-u64-v3-1-2257ad83d372@kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/f2fs/node.c
fs/inode.c
include/linux/fs.h