[DFS] fix compiling warning for NFS file system