diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2011-03-24 13:12:24 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-24 13:52:41 -0400 |
commit | 7c5130588d691a3b34d02312f1bd1b6d56fe0100 (patch) | |
tree | 154ccea3a837ca1aae2c5676e0946b79fb4bb671 /fs/nfs/internal.h | |
parent | e73b83f270828630a9ce33728f6ef61c37a82340 (diff) |
NFS: lookup supports alternate client
A later patch will need to perform a lookup using an
alternate client with a different security flavor.
This patch adds support for doing that on NFS v4.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 72e0bddf7a2f..1ec5d0662ede 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -296,12 +296,14 @@ extern int nfs4_init_client(struct nfs_client *clp, | |||
296 | rpc_authflavor_t authflavour, | 296 | rpc_authflavor_t authflavour, |
297 | int noresvport); | 297 | int noresvport); |
298 | extern void nfs4_reset_write(struct rpc_task *task, struct nfs_write_data *data); | 298 | extern void nfs4_reset_write(struct rpc_task *task, struct nfs_write_data *data); |
299 | extern int _nfs4_call_sync(struct nfs_server *server, | 299 | extern int _nfs4_call_sync(struct rpc_clnt *clnt, |
300 | struct nfs_server *server, | ||
300 | struct rpc_message *msg, | 301 | struct rpc_message *msg, |
301 | struct nfs4_sequence_args *args, | 302 | struct nfs4_sequence_args *args, |
302 | struct nfs4_sequence_res *res, | 303 | struct nfs4_sequence_res *res, |
303 | int cache_reply); | 304 | int cache_reply); |
304 | extern int _nfs4_call_sync_session(struct nfs_server *server, | 305 | extern int _nfs4_call_sync_session(struct rpc_clnt *clnt, |
306 | struct nfs_server *server, | ||
305 | struct rpc_message *msg, | 307 | struct rpc_message *msg, |
306 | struct nfs4_sequence_args *args, | 308 | struct nfs4_sequence_args *args, |
307 | struct nfs4_sequence_res *res, | 309 | struct nfs4_sequence_res *res, |