diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-16 13:52:26 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-22 17:24:02 (GMT) |
commit | 035168ab39f66e4946d493f9ee20d11e154f332a (patch) | |
tree | 9315dded7db8ccba9fb3601bdc3ab03310bd87ff /fs/nfs/write.c | |
parent | 71ac6da9944e2c9ec73ca64ca7bca74428858585 (diff) | |
download | linux-035168ab39f66e4946d493f9ee20d11e154f332a.tar.xz |
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 91679e2..03df228 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); |