diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-05-04 22:22:49 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-05-31 21:02:16 +0200 |
commit | e9ae1ee2b2ace7dcc37bc4e486b4410e7702ae57 (patch) | |
tree | 3b070d4cb28eda3a460fcacd4ad12e9edd6e03cd /fs/nfs/proc.c | |
parent | NFS: Move call to nfs4_state_protect_write() to nfs4_write_setup() (diff) | |
download | linux-e9ae1ee2b2ace7dcc37bc4e486b4410e7702ae57.tar.xz linux-e9ae1ee2b2ace7dcc37bc4e486b4410e7702ae57.zip |
NFS: Move call to nfs4_state_protect() to nfs4_commit_setup()
Rather than doing this in the generic NFS client code. Let's put this
with the other v4 stuff so it's all in one place.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/proc.c')
-rw-r--r-- | fs/nfs/proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index aaad337962d0..80c350b6232a 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c @@ -632,7 +632,8 @@ static void nfs_proc_commit_rpc_prepare(struct rpc_task *task, struct nfs_commit } static void -nfs_proc_commit_setup(struct nfs_commit_data *data, struct rpc_message *msg) +nfs_proc_commit_setup(struct nfs_commit_data *data, struct rpc_message *msg, + struct rpc_clnt **clnt) { BUG(); } |