]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-mem: Use -ETXTBSY as error code if the device is busy
authorDavid Hildenbrand <david@redhat.com>
Thu, 7 May 2020 14:01:38 +0000 (16:01 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jun 2020 19:36:52 +0000 (15:36 -0400)
commitcb066600ba94978c2ffd5723185371c5ecfb42e4
treeed7714cc69a982f7cc1a739ccbab929c01d9232c
parent6b57cdaf77e2a0acf7fb053c141465c70839a8a7
virtio-mem: Use -ETXTBSY as error code if the device is busy

Let's be able to distinguish if the device or if memory is busy.

Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20200507140139.17083-15-david@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_mem.c