Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198917
b: refs/heads/master
c: 3ac26b2
h: refs/heads/master
i:
  198915: a2cabd4
v: v3
  • Loading branch information
Stefan Richter committed Apr 10, 2010
1 parent af09649 commit b45815f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5da3dac8d99c9933f12286fd73fa18e26f768bea
refs/heads/master: 3ac26b2ee30005930117fe6a180c139c5f300faf
8 changes: 4 additions & 4 deletions trunk/drivers/firewire/core-cdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static int fw_device_op_open(struct inode *inode, struct file *file)
list_add_tail(&client->link, &device->client_list);
mutex_unlock(&device->client_list_mutex);

return 0;
return nonseekable_open(inode, file);
}

static void queue_event(struct client *client, struct event *event,
Expand Down Expand Up @@ -1495,13 +1495,13 @@ static unsigned int fw_device_op_poll(struct file *file, poll_table * pt)

const struct file_operations fw_device_ops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.open = fw_device_op_open,
.read = fw_device_op_read,
.unlocked_ioctl = fw_device_op_ioctl,
.poll = fw_device_op_poll,
.release = fw_device_op_release,
.mmap = fw_device_op_mmap,

.release = fw_device_op_release,
.poll = fw_device_op_poll,
#ifdef CONFIG_COMPAT
.compat_ioctl = fw_device_op_compat_ioctl,
#endif
Expand Down

0 comments on commit b45815f

Please sign in to comment.