diff --git a/common/file-list.c b/common/file-list.c index 8d61b76..eb469cf 100644 --- a/common/file-list.c +++ b/common/file-list.c @@ -92,6 +92,9 @@ case 'c': flags |= FILE_LIST_FLAG_CREATE; break; + case 'u': + flags |= FILE_LIST_FLAG_UBI; + break; default: pr_err("Unknown flag '%c'\n", *partstr); return -EINVAL; diff --git a/include/file-list.h b/include/file-list.h index 1e02539..404d8d6 100644 --- a/include/file-list.h +++ b/include/file-list.h @@ -4,6 +4,7 @@ #define FILE_LIST_FLAG_SAFE (1 << 0) #define FILE_LIST_FLAG_READBACK (1 << 1) #define FILE_LIST_FLAG_CREATE (1 << 2) +#define FILE_LIST_FLAG_UBI (1 << 3) struct file_list_entry { char *name;