fix bug on get_inodeparent function
add function prototype to update cache
delete test code