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