commit | 2364bc40090f0cfc53484cfb82f836a3a50ebcb7 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Wed Apr 29 07:13:55 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Apr 29 07:13:55 2020 +0000 |
tree | fd1b5bd616a7cfad88b5b12ff2f316f171d7a206 | |
parent | b6e931d1419e10ff645befabe128764b2784dadb [diff] | |
parent | 3ec6c0600378813e0a3f660d268f273cf03fdd26 [diff] |
Merge "release unique_fd when passing to FUSE." into rvc-dev
diff --git a/jni/FuseDaemon.cpp b/jni/FuseDaemon.cpp index 9a27c5b..4caad75 100644 --- a/jni/FuseDaemon.cpp +++ b/jni/FuseDaemon.cpp
@@ -1632,7 +1632,7 @@ } fuse_default.se = se; fuse_default.active = &active; - se->fd = fd; + se->fd = fd.release(); // libfuse owns the FD now se->mountpoint = strdup(path.c_str()); // Single thread. Useful for debugging