summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2026-05-12 19:12:45 +0300
committerAnna Schumaker <anna.schumaker@hammerspace.com>2026-06-08 17:21:54 +0300
commitbd5e6b056bd0900d8efde90da7a5877dc50842c7 (patch)
tree76bbbfba3a44ae970db1a0824254d7067eae2165
parent2026c8a96afe6e5783497860c4af0a0e1a53991b (diff)
downloadlinux-bd5e6b056bd0900d8efde90da7a5877dc50842c7.tar.xz
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 <jlayton@kernel.org> Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
-rw-r--r--include/linux/nfs_fs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 83063f4ab488..ec17e602c979 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -146,11 +146,6 @@ struct nfs4_xattr_cache;
*/
struct nfs_inode {
/*
- * The 64bit 'inode number'
- */
- __u64 fileid;
-
- /*
* NFS file handle
*/
struct nfs_fh fh;