code cleanup
minor optimizations using [alloc/destroy]_inode
code cleanup
minor optimization