diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2023-12-29 23:22:40 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2024-01-11 16:47:51 +0000 |
| commit | d139cab8d13b83b90872f6ca5dc53890c85826a9 (patch) | |
| tree | d50fe603cbf7488cabd3f4dfdb49e00b727c9c88 | |
| parent | a85df799787b8c441bf7d7238f02ca057b7378e5 (diff) | |
| download | src-d139cab8d13b83b90872f6ca5dc53890c85826a9.tar.gz src-d139cab8d13b83b90872f6ca5dc53890c85826a9.zip | |
nfsclient copy_file_range(): flush dst vnode data
PR: 276002
(cherry picked from commit 7dae1467d72ae1f5c8f7be0f7444da23a457d98b)
| -rw-r--r-- | sys/fs/nfsclient/nfs_clvnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfsclient/nfs_clvnops.c b/sys/fs/nfsclient/nfs_clvnops.c index 642963694a0a..443d8bc6d56b 100644 --- a/sys/fs/nfsclient/nfs_clvnops.c +++ b/sys/fs/nfsclient/nfs_clvnops.c @@ -3881,7 +3881,7 @@ generic_copy: if (error == 0) error = ncl_flush(invp, MNT_WAIT, curthread, 1, 0); if (error == 0) - error = ncl_flush(outvp, MNT_WAIT, curthread, 1, 0); + error = ncl_vinvalbuf(outvp, V_SAVE, curthread, 0); /* Do the actual NFSv4.2 RPC. */ ret = ret2 = 0; |
