We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 954dd4a commit d79c547Copy full SHA for d79c547
compat/win32/fscache.c
@@ -44,6 +44,7 @@ static struct trace_key trace_fscache = TRACE_KEY_INIT(FSCACHE);
44
struct fsentry {
45
struct hashmap_entry ent;
46
mode_t st_mode;
47
+ ULONG reparse_tag;
48
/* Pointer to the directory listing, or NULL for the listing itself. */
49
struct fsentry *list;
50
/* Pointer to the next file entry of the list. */
@@ -195,6 +196,10 @@ static struct fsentry *fseentry_create_entry(struct fscache *cache,
195
196
197
fse = fsentry_alloc(cache, list, buf, len);
198
199
+ fse->reparse_tag =
200
+ fdata->FileAttributes & FILE_ATTRIBUTE_REPARSE_POINT ?
201
+ fdata->EaSize : 0;
202
+
203
fse->st_mode = file_attr_to_st_mode(fdata->FileAttributes);
204
fse->dirent.d_type = S_ISDIR(fse->st_mode) ? DT_DIR : DT_REG;
205
fse->u.s.st_size = fdata->EndOfFile.LowPart |
0 commit comments