response to osmotic stress [GO_0006970] - Virtual Fly Brain