Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352904
b: refs/heads/master
c: 0415d29
h: refs/heads/master
v: v3
  • Loading branch information
Enke Chen authored and Miklos Szeredi committed Feb 4, 2013
1 parent b8bb619 commit d511295
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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: dfca7cebc2679f3d129f8e680a8f199a7ad16e38
refs/heads/master: 0415d291022543d83ee799e9ffee08d856bca6e8
1 change: 1 addition & 0 deletions trunk/fs/fuse/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2167,6 +2167,7 @@ unsigned fuse_file_poll(struct file *file, poll_table *wait)
return DEFAULT_POLLMASK;

poll_wait(file, &ff->poll_wait, wait);
inarg.events = (__u32)poll_requested_events(wait);

/*
* Ask for notification iff there's someone waiting for it.
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/uapi/linux/fuse.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
*
* 7.21
* - add FUSE_READDIRPLUS
* - send the requested events in POLL request
*/

#ifndef _LINUX_FUSE_H
Expand Down Expand Up @@ -585,7 +586,7 @@ struct fuse_poll_in {
__u64 fh;
__u64 kh;
__u32 flags;
__u32 padding;
__u32 events;
};

struct fuse_poll_out {
Expand Down

0 comments on commit d511295

Please sign in to comment.