提交 91c063f4 编写于 作者: L lemonYo

fstab add overlay type

Signed-off-by: NlemonYo <wangyang187@huawei.com>
上级 5227241f
...@@ -58,7 +58,7 @@ bool IsSupportedFilesystem(const char *fsType) ...@@ -58,7 +58,7 @@ bool IsSupportedFilesystem(const char *fsType)
{ {
bool supported = false; bool supported = false;
if (fsType != NULL) { if (fsType != NULL) {
static const char *supportedFilesystem[] = {"ext4", "f2fs", NULL}; static const char *supportedFilesystem[] = {"ext4", "f2fs", "overlay", NULL};
int index = 0; int index = 0;
while (supportedFilesystem[index] != NULL) { while (supportedFilesystem[index] != NULL) {
if (strcmp(supportedFilesystem[index++], fsType) == 0) { if (strcmp(supportedFilesystem[index++], fsType) == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册