diff options
author | Enke Chen <enkechen@yahoo.com> | 2013-02-07 14:58:50 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-02-07 14:58:50 +0100 |
commit | 74f9acbd18c55708698831b4cfb980c262ee91ee (patch) | |
tree | 2527f09b765a8b111135fbe90a9e83c92cbb78ca /lib/fuse_lowlevel.c | |
parent | f448ac69d1791f4b5c1ce2771624e261cb1797b4 (diff) | |
download | libfuse-74f9acbd18c55708698831b4cfb980c262ee91ee.tar.gz |
libfuse: add poll_events to fuse_file_info
Make requested poll events available to the filesystem. If the requested
eventsare not available, then this field is zero.
Diffstat (limited to 'lib/fuse_lowlevel.c')
-rw-r--r-- | lib/fuse_lowlevel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index feaa076..2ac9aab 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -1746,6 +1746,7 @@ static void do_poll(fuse_req_t req, fuse_ino_t nodeid, const void *inarg) memset(&fi, 0, sizeof(fi)); fi.fh = arg->fh; fi.fh_old = fi.fh; + fi.poll_events = arg->events; if (req->f->op.poll) { struct fuse_pollhandle *ph = NULL; |