Displaying 2 results from an estimated 2 matches for "b94be04".
2013 Apr 11
1
[PATCH 1/1] virtio: console: replace EMFILE with EBUSY for already-open port
...hing I can think of where this change can break
existing userspace. But is that a strong enough reason to not fix this?
drivers/char/virtio_console.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index ce5f3fc..b94be04 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -1040,7 +1040,7 @@ static int port_fops_open(struct inode *inode, struct file *filp)
spin_lock_irq(&port->inbuf_lock);
if (port->guest_connected) {
spin_unlock_irq(&port->inbuf_lock);
- ret =...
2013 Apr 11
1
[PATCH 1/1] virtio: console: replace EMFILE with EBUSY for already-open port
...hing I can think of where this change can break
existing userspace. But is that a strong enough reason to not fix this?
drivers/char/virtio_console.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index ce5f3fc..b94be04 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -1040,7 +1040,7 @@ static int port_fops_open(struct inode *inode, struct file *filp)
spin_lock_irq(&port->inbuf_lock);
if (port->guest_connected) {
spin_unlock_irq(&port->inbuf_lock);
- ret =...