This patch fixes the initial set_capacity call so that it matches nbd's internal device size (nbd_device->bytesize). Thanks, Paul