summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-25 17:51:23 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-25 18:02:09 -0400
commit848f5bda54ef19435ff78f124082bf6eff2ab620 (patch)
tree06b86b2725e1c1c309067cb7c3bd7b16058662e9 /fs/nfs/nfs4_fs.h
parentad24ecfbcddfa88541bccc980e753aeda8bf4031 (diff)
downloadlinux-stable-848f5bda54ef19435ff78f124082bf6eff2ab620.tar.gz
linux-stable-848f5bda54ef19435ff78f124082bf6eff2ab620.tar.bz2
linux-stable-848f5bda54ef19435ff78f124082bf6eff2ab620.zip
NFSv4.1: Ensure we use the correct credentials for session create/destroy
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index 5fcb1ad65e5e..a5dbe62130f1 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -241,8 +241,8 @@ extern int nfs41_setup_sequence(struct nfs4_session *session,
struct rpc_task *task);
extern void nfs4_destroy_session(struct nfs4_session *session);
extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp);
-extern int nfs4_proc_create_session(struct nfs_client *);
-extern int nfs4_proc_destroy_session(struct nfs4_session *);
+extern int nfs4_proc_create_session(struct nfs_client *, struct rpc_cred *);
+extern int nfs4_proc_destroy_session(struct nfs4_session *, struct rpc_cred *);
extern int nfs4_init_session(struct nfs_server *server);
extern int nfs4_proc_get_lease_time(struct nfs_client *clp,
struct nfs_fsinfo *fsinfo);