rem: fs_cookie cookie; int status;
add: status_t status;
context: index_remove(mount_id mountID, const char *name, bool kernel){	struct fs_mount *mount;	fs_cookie cookie;	int status;	FUNCTION(("index_remove(mountID = %ld, name = %s, kernel = %d)\n", mountID, name, kernel));	mutex_lock(&gMountMutex);		mount = find_mount(mountID);	if (mount == NULL)		goto err;	// ToDo: lock the mount in some way - i.e. increment the root node's ref counter	mutex_unlock(&gMountMutex);		if (FS_MOUNT_CALL(mount, remove_index) == NULL)		return EROFS;	return FS_MOUNT_CALL(mount, remove_index)(mount->cookie, name);err:	mutex_unlock(&gMountMutex);		return B_BAD_VALUE;}