Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147955
b: refs/heads/master
c: 797759a
h: refs/heads/master
i:
  147953: bb6a130
  147951: 9235578
v: v3
  • Loading branch information
Miklos Szeredi committed Apr 28, 2009
1 parent 3331129 commit 3506d96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: d36f248710c05714f37d921258b630bd1456b99f
refs/heads/master: 797759aaf31351a1ab1b9130c4f180ce496f46c5
5 changes: 2 additions & 3 deletions trunk/fs/fuse/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1894,9 +1894,8 @@ static void fuse_register_polled_file(struct fuse_conn *fc,

static unsigned fuse_file_poll(struct file *file, poll_table *wait)
{
struct inode *inode = file->f_dentry->d_inode;
struct fuse_file *ff = file->private_data;
struct fuse_conn *fc = get_fuse_conn(inode);
struct fuse_conn *fc = ff->fc;
struct fuse_poll_in inarg = { .fh = ff->fh, .kh = ff->kh };
struct fuse_poll_out outarg;
struct fuse_req *req;
Expand All @@ -1921,7 +1920,7 @@ static unsigned fuse_file_poll(struct file *file, poll_table *wait)
return PTR_ERR(req);

req->in.h.opcode = FUSE_POLL;
req->in.h.nodeid = get_node_id(inode);
req->in.h.nodeid = ff->nodeid;
req->in.numargs = 1;
req->in.args[0].size = sizeof(inarg);
req->in.args[0].value = &inarg;
Expand Down

0 comments on commit 3506d96

Please sign in to comment.