modified inode.c to call functions in cache.c