Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211659
b: refs/heads/master
c: 299fb61
h: refs/heads/master
i:
  211657: 2bf91fb
  211655: 4d8c139
v: v3
  • Loading branch information
Amit Shah authored and Rusty Russell committed Oct 21, 2010
1 parent 2e9b648 commit edfe321
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a461e11e7b8ca2705889bcf9582f6a8f84884bd2
refs/heads/master: 299fb61c08c2fcd1bb6d3a4e87e53dc368475416
3 changes: 3 additions & 0 deletions trunk/drivers/char/virtio_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,8 @@ static int port_fops_open(struct inode *inode, struct file *filp)
reclaim_consumed_buffers(port);
spin_unlock_irq(&port->outvq_lock);

nonseekable_open(inode, filp);

/* Notify host of port being opened */
send_control_msg(filp->private_data, VIRTIO_CONSOLE_PORT_OPEN, 1);

Expand Down Expand Up @@ -840,6 +842,7 @@ static const struct file_operations port_fops = {
.poll = port_fops_poll,
.release = port_fops_release,
.fasync = port_fops_fasync,
.llseek = no_llseek,
};

/*
Expand Down

0 comments on commit edfe321

Please sign in to comment.