[PATCH AUTOSEL 5.15 27/31] virtio_pmem: Check device status before requesting flush