code revise for inode.c