summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2013-04-15 04:30:15 +0200
committerRusty Russell <rusty@rustcorp.com.au>2013-04-15 07:47:39 +0200
commit74ff582cd65ad01c45f1971feac28f23b7eb2687 (patch)
treed3a4222a562e7ee16b5ac053461fb5132a3b63f6 /arch/x86
parentvirtio-scsi: reset virtqueue affinity when doing cpu hotplug (diff)
downloadlinux-74ff582cd65ad01c45f1971feac28f23b7eb2687.tar.xz
linux-74ff582cd65ad01c45f1971feac28f23b7eb2687.zip
virtio: console: replace EMFILE with EBUSY for already-open port
Returning EMFILE (process has too many open files) is incorrect to indicate a port is already open by another process. Use EBUSY for that. This does change what we report to userspace, but I believe userspace can look at it this way: it gets EBUSY, a new error code, instead of EMFILE. It's still an error, and that's not changing. Reported-by: Mateusz Guzik <mguzik@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions