rem: err1:
context: attr_open(int fd, const char *name, int openMode, bool kernel){	struct vnode *vnode;	fs_cookie cookie;	int status;	if (name == NULL || *name == '\0')		return B_BAD_VALUE;	vnode = get_vnode_from_fd(get_current_io_context(kernel), fd);	if (vnode == NULL)		return B_FILE_ERROR;	if (FS_CALL(vnode, open_attr) == NULL) {		status = EOPNOTSUPP;		goto err;	}	status = FS_CALL(vnode, open_attr)(vnode->mount->cookie, vnode->private_node, name, openMode, &cookie);	if (status < B_OK)		goto err;	if ((status = get_new_fd(FDTYPE_ATTR, vnode, cookie, openMode, kernel)) >= 0)		return status;err1:	FS_CALL(vnode, close_attr)(vnode->mount->cookie, vnode->private_node, cookie);	FS_CALL(vnode, free_attr_cookie)(vnode->mount->cookie, vnode->private_node, cookie);err:	put_vnode(vnode);	return status;}