Revert "ANDROID: Incremental fs: Initialize mount options correctly"

This reverts commit 63ddad8bce.

Set incfs back to rvc shipping incfs

Bug: 178509184
Test: incfs_test passes
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Change-Id: Id80c83386b3fb37f48c625c1cd540b8a08a5c203
This commit is contained in:
Paul Lawrence
2021-01-26 13:31:02 -08:00
parent 199e5e4f5e
commit a4ca48189f

View File

@@ -180,13 +180,12 @@ static int parse_options(struct mount_options *opts, char *str)
if (opts == NULL)
return -EFAULT;
*opts = (struct mount_options) {
.read_timeout_ms = 1000, /* Default: 1s */
.readahead_pages = 10,
.read_log_pages = 2,
.read_log_wakeup_count = 10,
};
opts->read_timeout_ms = 1000; /* Default: 1s */
opts->readahead_pages = 10;
opts->read_log_pages = 2;
opts->read_log_wakeup_count = 10;
opts->no_backing_file_cache = false;
opts->no_backing_file_readahead = false;
if (str == NULL || *str == 0)
return 0;