aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs3proc.c')
-rw-r--r--fs/nfs/nfs3proc.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c
index 5242eae6711a..b1daca7f0f7b 100644
--- a/fs/nfs/nfs3proc.c
+++ b/fs/nfs/nfs3proc.c
@@ -848,7 +848,12 @@ static void nfs3_proc_write_rpc_prepare(struct rpc_task *task, struct nfs_write_
848 rpc_call_start(task); 848 rpc_call_start(task);
849} 849}
850 850
851static int nfs3_commit_done(struct rpc_task *task, struct nfs_write_data *data) 851static void nfs3_proc_commit_rpc_prepare(struct rpc_task *task, struct nfs_commit_data *data)
852{
853 rpc_call_start(task);
854}
855
856static int nfs3_commit_done(struct rpc_task *task, struct nfs_commit_data *data)
852{ 857{
853 if (nfs3_async_handle_jukebox(task, data->inode)) 858 if (nfs3_async_handle_jukebox(task, data->inode))
854 return -EAGAIN; 859 return -EAGAIN;
@@ -856,7 +861,7 @@ static int nfs3_commit_done(struct rpc_task *task, struct nfs_write_data *data)
856 return 0; 861 return 0;
857} 862}
858 863
859static void nfs3_proc_commit_setup(struct nfs_write_data *data, struct rpc_message *msg) 864static void nfs3_proc_commit_setup(struct nfs_commit_data *data, struct rpc_message *msg)
860{ 865{
861 msg->rpc_proc = &nfs3_procedures[NFS3PROC_COMMIT]; 866 msg->rpc_proc = &nfs3_procedures[NFS3PROC_COMMIT];
862} 867}
@@ -907,6 +912,7 @@ const struct nfs_rpc_ops nfs_v3_clientops = {
907 .write_rpc_prepare = nfs3_proc_write_rpc_prepare, 912 .write_rpc_prepare = nfs3_proc_write_rpc_prepare,
908 .write_done = nfs3_write_done, 913 .write_done = nfs3_write_done,
909 .commit_setup = nfs3_proc_commit_setup, 914 .commit_setup = nfs3_proc_commit_setup,
915 .commit_rpc_prepare = nfs3_proc_commit_rpc_prepare,
910 .commit_done = nfs3_commit_done, 916 .commit_done = nfs3_commit_done,
911 .lock = nfs3_proc_lock, 917 .lock = nfs3_proc_lock,
912 .clear_acl_cache = nfs3_forget_cached_acls, 918 .clear_acl_cache = nfs3_forget_cached_acls,