From: Jeff Layton Date: Tue, 12 May 2026 16:12:45 +0000 (-0400) Subject: nfs: remove fileid field from struct nfs_inode X-Git-Tag: v7.2-rc1~46^2~38 X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=bd5e6b056bd0900d8efde90da7a5877dc50842c7;p=thirdparty%2Fkernel%2Flinux.git nfs: remove fileid field from struct nfs_inode Now that all NFS client code uses inode->i_ino directly to store and access the 64-bit NFS fileid, the separate fileid field in struct nfs_inode is unused. Remove it to save 8 bytes per NFS inode. Assisted-by: Claude:claude-opus-4-6 Signed-off-by: Jeff Layton Signed-off-by: Anna Schumaker --- diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 83063f4ab4880..ec17e602c979c 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -145,11 +145,6 @@ struct nfs4_xattr_cache; * nfs fs inode data in memory */ struct nfs_inode { - /* - * The 64bit 'inode number' - */ - __u64 fileid; - /* * NFS file handle */