nfsclient copy_file_range(): flush dst vnode data

PR:	276002

(cherry picked from commit 7dae1467d7)
This commit is contained in:
Konstantin Belousov 2023-12-30 01:22:40 +02:00
parent a76475313d
commit 384c72acb5

View file

@ -3956,7 +3956,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;