cloudbase / wnbd

Windows Ceph RBD NBD driver
GNU Lesser General Public License v2.1
58 stars 26 forks source link

libwnbd: Fixed device block count update on resize #82

Closed stefan-chivu closed 1 year ago

stefan-chivu commented 1 year ago

When calling WnbdSetDiskSize, the block count property of the device received as a parameter wasn't being updated before returning. Therefore, while the actual block count of the device was changed, the property of the referenced PWNBD_DISK wasn't properly updated to the new value.

Signed-off-by: Stefan Chivu schivu@cloudbasesolutions.com