clean up cifs and nfs code