added assertions in read/write inode/dblk