summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2018-07-09 21:13:36 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-08-09 18:56:39 +0200
commit6b8d84e2f1299a5876ed812b137c49686cc85c7c (patch)
treed8b73b4a739266068ead6150f0f2def5708c12d6 /fs/nfs/nfs4_fs.h
parentNFS handle COPY ERR_OFFLOAD_NO_REQS (diff)
downloadlinux-6b8d84e2f1299a5876ed812b137c49686cc85c7c.tar.xz
linux-6b8d84e2f1299a5876ed812b137c49686cc85c7c.zip
NFS add a simple sync nfs4_proc_commit after async COPY
A COPY with unstable write data needs a simple sync commit. Filehandle value is gotten as a part of the inner loop so in case of a reboot retry it should get the new value. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index a417aaaeee4a..e87d414c40d0 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -508,7 +508,7 @@ extern int nfs4_sequence_done(struct rpc_task *task,
struct nfs4_sequence_res *res);
extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp);
-
+extern int nfs4_proc_commit(struct file *dst, __u64 offset, __u32 count, struct nfs_commitres *res);
extern const nfs4_stateid zero_stateid;
extern const nfs4_stateid invalid_stateid;