]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nfs: remove nfs_compat_user_ino64() and deprecate enable_ino64
authorJeff Layton <jlayton@kernel.org>
Tue, 12 May 2026 16:12:43 +0000 (12:12 -0400)
committerAnna Schumaker <anna.schumaker@hammerspace.com>
Mon, 8 Jun 2026 14:21:54 +0000 (10:21 -0400)
commit0e06a884f5ba6226829441bfc656ff9f5e9e90ac
tree637a3397688a307f5789a708cbdf2ad178a2fb87
parent0cad7630425f4c9ee0dfa376ff8bf60c88ff2566
nfs: remove nfs_compat_user_ino64() and deprecate enable_ino64

Now that inode->i_ino stores the full 64-bit NFS fileid, the
nfs_compat_user_ino64() function is no longer needed.
generic_fillattr() already copies inode->i_ino into stat->ino, so the
explicit override in nfs_getattr() is also redundant.

Also remove the now-unused nfs_fileid_to_ino_t() and
nfs_fattr_to_ino_t() helper functions that were used to XOR-fold
64-bit fileids into the old unsigned long i_ino.

Keep the enable_ino64 module parameter as a deprecated stub that
accepts but ignores the value, logging a notice when set. This avoids
breaking existing configurations that pass nfs.enable_ino64 on the
kernel command line or in modprobe.d.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Documentation/admin-guide/kernel-parameters.txt
fs/nfs/dir.c
fs/nfs/inode.c
include/linux/nfs_fs.h