summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs.h
diff options
context:
space:
mode:
authorAnna Schumaker <anna.schumaker@oracle.com>2024-10-01 16:33:41 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-11-08 14:17:37 -0500
commit11eb537fd85186cdc8654fd1a15efacb5141f90c (patch)
tree3ecd16e25f1a89e0b26a5e197a04b1c8b70195ea /fs/nfs/nfs.h
parent6278c86a6cc14fdc66988958bbefec3407fa56a0 (diff)
NFS: Convert the NFS module list into an array
Using a linked list here seems unnecessarily complex, especially since possible index values are '2', '3', and '4'. Let's just use an array for direct access. Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs.h')
-rw-r--r--fs/nfs/nfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs.h b/fs/nfs/nfs.h
index 0d3ce0460e35..0329fc3023d0 100644
--- a/fs/nfs/nfs.h
+++ b/fs/nfs/nfs.h
@@ -19,7 +19,6 @@ struct nfs_subversion {
const struct nfs_rpc_ops *rpc_ops; /* NFS operations */
const struct super_operations *sops; /* NFS Super operations */
const struct xattr_handler * const *xattr; /* NFS xattr handlers */
- struct list_head list; /* List of NFS versions */
};
struct nfs_subversion *get_nfs_version(unsigned int);