Merge "Fix method sinature of FuseAppLoop JNI code"

This commit is contained in:
Garfield Tan
2017-07-11 18:39:26 +00:00
committed by Android (Google) Code Review

View File

@@ -142,14 +142,14 @@ void com_android_internal_os_FuseAppLoop_replyOpen(
}
void com_android_internal_os_FuseAppLoop_replyLookup(
JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jint size) {
JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) {
if (!reinterpret_cast<fuse::FuseAppLoop*>(ptr)->ReplyLookup(unique, inode, size)) {
reinterpret_cast<fuse::FuseAppLoop*>(ptr)->Break();
}
}
void com_android_internal_os_FuseAppLoop_replyGetAttr(
JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jint size) {
JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) {
if (!reinterpret_cast<fuse::FuseAppLoop*>(ptr)->ReplyGetAttr(
unique, inode, size, S_IFREG | 0777)) {
reinterpret_cast<fuse::FuseAppLoop*>(ptr)->Break();