提交 ad05b318 编写于 作者: H Hervé Poussineau 提交者: Kevin Wolf

vvfat: rename useless enumeration values

MODE_FAKED and MODE_RENAMED are not and were never used.
Signed-off-by: NHervé Poussineau <hpoussin@reactos.org>
Signed-off-by: NKevin Wolf <kwolf@redhat.com>
上级 5f5b29df
...@@ -286,8 +286,7 @@ typedef struct mapping_t { ...@@ -286,8 +286,7 @@ typedef struct mapping_t {
union { union {
/* offset is /* offset is
* - the offset in the file (in clusters) for a file, or * - the offset in the file (in clusters) for a file, or
* - the next cluster of the directory for a directory, and * - the next cluster of the directory for a directory
* - the address of the buffer for a faked entry
*/ */
struct { struct {
uint32_t offset; uint32_t offset;
...@@ -300,9 +299,13 @@ typedef struct mapping_t { ...@@ -300,9 +299,13 @@ typedef struct mapping_t {
/* path contains the full path, i.e. it always starts with s->path */ /* path contains the full path, i.e. it always starts with s->path */
char* path; char* path;
enum { MODE_UNDEFINED = 0, MODE_NORMAL = 1, MODE_MODIFIED = 2, enum {
MODE_DIRECTORY = 4, MODE_FAKED = 8, MODE_UNDEFINED = 0,
MODE_DELETED = 16, MODE_RENAMED = 32 } mode; MODE_NORMAL = 1,
MODE_MODIFIED = 2,
MODE_DIRECTORY = 4,
MODE_DELETED = 8,
} mode;
int read_only; int read_only;
} mapping_t; } mapping_t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册