aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 6f2f40239d10..43045fa44710 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -5671,7 +5671,7 @@ static const struct rpc_call_ops nfs4_layoutcommit_ops = {
5671}; 5671};
5672 5672
5673int 5673int
5674nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data, int sync) 5674nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data, bool sync)
5675{ 5675{
5676 struct rpc_message msg = { 5676 struct rpc_message msg = {
5677 .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_LAYOUTCOMMIT], 5677 .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_LAYOUTCOMMIT],
@@ -5699,7 +5699,7 @@ nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data, int sync)
5699 task = rpc_run_task(&task_setup_data); 5699 task = rpc_run_task(&task_setup_data);
5700 if (IS_ERR(task)) 5700 if (IS_ERR(task))
5701 return PTR_ERR(task); 5701 return PTR_ERR(task);
5702 if (!sync) 5702 if (sync == false)
5703 goto out; 5703 goto out;
5704 status = nfs4_wait_for_completion_rpc_task(task); 5704 status = nfs4_wait_for_completion_rpc_task(task);
5705 if (status != 0) 5705 if (status != 0)