diff options
author | Enke Chen <enkechen@yahoo.com> | 2013-02-04 10:14:32 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-02-04 10:14:32 -0500 |
commit | 0415d291022543d83ee799e9ffee08d856bca6e8 (patch) | |
tree | 3e2b66aac312f045ffca72e75f90e7055e69ff2e /fs/fuse | |
parent | dfca7cebc2679f3d129f8e680a8f199a7ad16e38 (diff) |
fuse: send poll events
commit 626cf23660 "poll: add poll_requested_events()..." enabled us to send the
requested events to the filesystem.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse')
-rw-r--r-- | fs/fuse/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index a010585b0a74..c8071768b950 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c | |||
@@ -2167,6 +2167,7 @@ unsigned fuse_file_poll(struct file *file, poll_table *wait) | |||
2167 | return DEFAULT_POLLMASK; | 2167 | return DEFAULT_POLLMASK; |
2168 | 2168 | ||
2169 | poll_wait(file, &ff->poll_wait, wait); | 2169 | poll_wait(file, &ff->poll_wait, wait); |
2170 | inarg.events = (__u32)poll_requested_events(wait); | ||
2170 | 2171 | ||
2171 | /* | 2172 | /* |
2172 | * Ask for notification iff there's someone waiting for it. | 2173 | * Ask for notification iff there's someone waiting for it. |