rem: *_size = size;
add: user_memcpy(_size, &size, sizeof(size));
context: _kern_validate_resize_partition(partition_id partitionID, int32 changeCounter,								off_t *_size){	if (!_size)		return B_BAD_VALUE;	off_t size = *_size;	KDiskDeviceManager *manager = KDiskDeviceManager::Default();	// get the partition	KPartition *partition = manager->ReadLockPartition(partitionID);	if (!partition)		return B_ENTRY_NOT_FOUND;	PartitionRegistrar registrar1(partition, true);	PartitionRegistrar registrar2(partition->Device(), true);	DeviceReadLocker locker(partition->Device(), true);	off_t contentSize = 0;	bool result = validate_resize_partition(partition, changeCounter, &size,											&contentSize);	if (result)		*_size = size;	return result;								        }