[PATCH AUTOSEL 5.4 18/21] virtio_pmem: Check device status before requesting flush