[PATCH AUTOSEL 5.10 22/26] virtio_pmem: Check device status before requesting flush