nfs server: improve use of the VFS KPI
(cherry picked from commit 51a9b978e75021415fdced616b4e4bc373a20a8a)