commit | 523a059fb7d5844ebcca279b2f83aff9164b444c | [log] [tgz] |
---|---|---|
author | Matt Mower <mowerm@gmail.com> | Sun Dec 13 11:31:00 2015 -0600 |
committer | Ethan Yonker <dees_troy@teamw.in> | Wed Dec 23 09:58:04 2015 -0600 |
tree | 4353fa9fa64a17ef2c5548f0c9f73f5e5f389f6a | |
parent | 09ef1e410970b74df384047fcf4c0e18a6ec3643 [diff] [blame] |
fuse: Update to 2.9.4 Change-Id: I0877c624531286f47da29a7ab16c7ff3cfac0090
diff --git a/fuse/fuse_session.c b/fuse/fuse_session.c index c55f250..18c8c42 100644 --- a/fuse/fuse_session.c +++ b/fuse/fuse_session.c
@@ -182,6 +182,16 @@ return ch->fd; } +int fuse_chan_clearfd(struct fuse_chan *ch) +{ + if (ch == NULL) + return -1; + + int fd = ch->fd; + ch->fd = -1; + return fd; +} + size_t fuse_chan_bufsize(struct fuse_chan *ch) { return ch->bufsize;