25 lines
651 B
Diff
25 lines
651 B
Diff
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
|
|
|