add inode.c

Signed-off-by: Conke Hu <conke.hu@maxwit.com>