aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 6843e0a37de8..a99a8d948721 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -72,8 +72,6 @@
72 72
73#define NFS4_MAX_LOOP_ON_RECOVER (10) 73#define NFS4_MAX_LOOP_ON_RECOVER (10)
74 74
75static unsigned short max_session_slots = NFS4_DEF_SLOT_TABLE_SIZE;
76
77struct nfs4_opendata; 75struct nfs4_opendata;
78static int _nfs4_proc_open(struct nfs4_opendata *data); 76static int _nfs4_proc_open(struct nfs4_opendata *data);
79static int _nfs4_recover_proc_open(struct nfs4_opendata *data); 77static int _nfs4_recover_proc_open(struct nfs4_opendata *data);
@@ -6870,6 +6868,7 @@ const struct nfs_rpc_ops nfs_v4_clientops = {
6870 .file_ops = &nfs4_file_operations, 6868 .file_ops = &nfs4_file_operations,
6871 .getroot = nfs4_proc_get_root, 6869 .getroot = nfs4_proc_get_root,
6872 .submount = nfs4_submount, 6870 .submount = nfs4_submount,
6871 .try_mount = nfs4_try_mount,
6873 .getattr = nfs4_proc_getattr, 6872 .getattr = nfs4_proc_getattr,
6874 .setattr = nfs4_proc_setattr, 6873 .setattr = nfs4_proc_setattr,
6875 .lookup = nfs4_proc_lookup, 6874 .lookup = nfs4_proc_lookup,
@@ -6915,6 +6914,8 @@ const struct nfs_rpc_ops nfs_v4_clientops = {
6915 .alloc_client = nfs4_alloc_client, 6914 .alloc_client = nfs4_alloc_client,
6916 .init_client = nfs4_init_client, 6915 .init_client = nfs4_init_client,
6917 .free_client = nfs4_free_client, 6916 .free_client = nfs4_free_client,
6917 .create_server = nfs4_create_server,
6918 .clone_server = nfs_clone_server,
6918}; 6919};
6919 6920
6920static const struct xattr_handler nfs4_xattr_nfs4_acl_handler = { 6921static const struct xattr_handler nfs4_xattr_nfs4_acl_handler = {
@@ -6929,10 +6930,6 @@ const struct xattr_handler *nfs4_xattr_handlers[] = {
6929 NULL 6930 NULL
6930}; 6931};
6931 6932
6932module_param(max_session_slots, ushort, 0644);
6933MODULE_PARM_DESC(max_session_slots, "Maximum number of outstanding NFSv4.1 "
6934 "requests the client will negotiate");
6935
6936/* 6933/*
6937 * Local variables: 6934 * Local variables:
6938 * c-basic-offset: 8 6935 * c-basic-offset: 8