android-12.0.0_r32 patches

This commit is contained in:
Ziyang Zhou
2023-10-05 22:27:22 +08:00
parent b3fa25049b
commit 03a0fccccd
18 changed files with 928 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
From 0fe3c9fce155fd9efe5c590c8fac25c93f9bb716 Mon Sep 17 00:00:00 2001
From: Ziyang Zhou <ziyang.zhou@outlook.com>
Date: Sat, 6 Aug 2022 10:19:11 +0800
Subject: [PATCH] ignore project quota error
---
Utils.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/Utils.cpp b/Utils.cpp
index 4635975a..818a8948 100644
--- a/Utils.cpp
+++ b/Utils.cpp
@@ -243,6 +243,7 @@ int SetQuotaProjectId(const std::string& path, long projectId) {
ret = ioctl(fd, FS_IOC_FSSETXATTR, &fsx);
if (ret == -1) {
PLOG(ERROR) << "Failed to set project id on " << path;
+ ret = 0; // HACKED
return ret;
}
return 0;
--
2.34.1