[vold] pass sysfs_name to mount options Ignore-AOSP-First: Will cherry-pick to AOSP Test: manual BUG: 184844615 Change-Id: I216210132f49f55098c0f2d1b8d4e571b22cfcc4
diff --git a/VoldNativeService.cpp b/VoldNativeService.cpp index 66c7d46..8d63a83 100644 --- a/VoldNativeService.cpp +++ b/VoldNativeService.cpp
@@ -957,6 +957,7 @@ binder::Status VoldNativeService::mountIncFs( const std::string& backingPath, const std::string& targetDir, int32_t flags, + const std::string& sysfsName, ::android::os::incremental::IncrementalFileSystemControlParcel* _aidl_return) { ENFORCE_SYSTEM_OR_ROOT; CHECK_ARGUMENT_PATH(backingPath); @@ -967,7 +968,8 @@ // Mount with read timeouts. .defaultReadTimeoutMs = INCFS_DEFAULT_READ_TIMEOUT_MS, // Mount with read logs disabled. - .readLogBufferPages = 0}); + .readLogBufferPages = 0, + .sysfsName = sysfsName.c_str()}); if (!control) { return translate(-errno); }