Undo block device changes.