/* * Copyright (c) 2012 Netapp, Inc. All rights reserved. * * Function and structures exported by the NFS module * for use by NFS version-specific modules. */#ifndef __LINUX_INTERNAL_NFS_H#define __LINUX_INTERNAL_NFS_H#include <linux/fs.h>#include <linux/sunrpc/sched.h>#include <linux/nfs_xdr.h>structnfs_subversion{structmodule*owner;/* THIS_MODULE pointer */structfile_system_type*nfs_fs;/* NFS filesystem type */conststructrpc_version*rpc_vers;/* NFS version information */conststructnfs_rpc_ops*rpc_ops;/* NFS operations */conststructsuper_operations*sops;/* NFS Super operations */conststructxattr_handler**xattr;/* NFS xattr handlers */structlist_headlist;/* List of NFS versions */};structnfs_subversion*get_nfs_version(unsignedint);voidput_nfs_version(structnfs_subversion*);voidregister_nfs_version(structnfs_subversion*);voidunregister_nfs_version(structnfs_subversion*);#endif /* __LINUX_INTERNAL_NFS_H */