mountd: clean up cache API