diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-16 15:52:26 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-22 19:24:02 +0200 |
commit | 035168ab39f66e4946d493f9ee20d11e154f332a (patch) | |
tree | 9315dded7db8ccba9fb3601bdc3ab03310bd87ff /fs/nfs/write.c | |
parent | NFSv4.1: Merge the nfs41_proc_async_sequence() and nfs4_proc_sequence() (diff) | |
download | linux-035168ab39f66e4946d493f9ee20d11e154f332a.tar.xz linux-035168ab39f66e4946d493f9ee20d11e154f332a.zip |
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 '')
-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: void nfs_write_prepare(struct rpc_task *task, void *calldata) { struct nfs_write_data *data = calldata; - struct nfs_client *clp = (NFS_SERVER(data->inode))->nfs_client; - if (nfs4_setup_sequence(clp, &data->args.seq_args, + if (nfs4_setup_sequence(NFS_SERVER(data->inode), + &data->args.seq_args, &data->res.seq_res, 1, task)) return; rpc_call_start(task); |