nfsclient: flush dirty pages of the vnode
PR: 276002
(cherry picked from commit 47ec00d9d6071bbb0ee5ed0bdca3c4a468334d9d)