updated inode_write_at and inode_read_at