block/loop: fix race between I/O and set_status
am: 50447afd96

Change-Id: I2e2e33ae3df438a0754fbfa723b05bcc5f2b2325