diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-16 09:52:26 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-22 13:24:02 -0400 |
commit | 035168ab39f66e4946d493f9ee20d11e154f332a (patch) | |
tree | 9315dded7db8ccba9fb3601bdc3ab03310bd87ff /fs/nfs/write.c | |
parent | 71ac6da9944e2c9ec73ca64ca7bca74428858585 (diff) |
NFSv4.1: Make nfs4_setup_sequence take a nfs_server argument
In anticipation of the day when we have per-filesystem sessions, and also
in order to allow the session to change in the event of a filesystem
migration event.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 91679e2631ee..03df22822c4c 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -1036,9 +1036,9 @@ out: | |||
1036 | void nfs_write_prepare(struct rpc_task *task, void *calldata) | 1036 | void nfs_write_prepare(struct rpc_task *task, void *calldata) |
1037 | { | 1037 | { |
1038 | struct nfs_write_data *data = calldata; | 1038 | struct nfs_write_data *data = calldata; |
1039 | struct nfs_client *clp = (NFS_SERVER(data->inode))->nfs_client; | ||
1040 | 1039 | ||
1041 | if (nfs4_setup_sequence(clp, &data->args.seq_args, | 1040 | if (nfs4_setup_sequence(NFS_SERVER(data->inode), |
1041 | &data->args.seq_args, | ||
1042 | &data->res.seq_res, 1, task)) | 1042 | &data->res.seq_res, 1, task)) |
1043 | return; | 1043 | return; |
1044 | rpc_call_start(task); | 1044 | rpc_call_start(task); |