rem: mount = find_mount(mountID); if (mount == NULL) goto err;
add: if (FS_MOUNT_CALL(mount, read_index_stat) == NULL) { status = EOPNOTSUPP; goto out; }
context: index_name_read_stat(mount_id mountID, const char *name, struct stat *stat, 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, read_index_stat) == NULL)		return EOPNOTSUPP;	return FS_MOUNT_CALL(mount, read_index_stat)(mount->cookie, name, stat);err:	mutex_unlock(&gMountMutex);		return B_BAD_VALUE;}