Merge "Fix wrong FUSE-JNI uid and tid"
diff --git a/jni/FuseDaemon.cpp b/jni/FuseDaemon.cpp
index c5dd232..59d9ef1 100755
--- a/jni/FuseDaemon.cpp
+++ b/jni/FuseDaemon.cpp
@@ -1036,7 +1036,8 @@
 
     if (fuse->passthrough) {
         *keep_cache = 1;
-        handle = new struct handle(fd, ri, true /* cached */, !redaction_needed /* passthrough */,
+        handle = new struct handle(fd, ri, true /* cached */,
+                                   !redaction_needed || node->GetTransforms() /* passthrough */,
                                    uid);
     } else {
         // Without fuse->passthrough, we don't want to use the FUSE VFS cache in two cases: