File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ static struct trace_key trace_fscache = TRACE_KEY_INIT(FSCACHE);
41
41
struct fsentry {
42
42
struct hashmap_entry ent ;
43
43
mode_t st_mode ;
44
+ ULONG reparse_tag ;
44
45
/* Pointer to the directory listing, or NULL for the listing itself. */
45
46
struct fsentry * list ;
46
47
/* Pointer to the next file entry of the list. */
@@ -189,6 +190,10 @@ static struct fsentry *fseentry_create_entry(struct fscache *cache,
189
190
190
191
fse = fsentry_alloc (cache , list , buf , len );
191
192
193
+ fse -> reparse_tag =
194
+ fdata -> FileAttributes & FILE_ATTRIBUTE_REPARSE_POINT ?
195
+ fdata -> EaSize : 0 ;
196
+
192
197
fse -> st_mode = file_attr_to_st_mode (fdata -> FileAttributes );
193
198
fse -> dirent .d_type = S_ISDIR (fse -> st_mode ) ? DT_DIR : DT_REG ;
194
199
fse -> u .s .st_size = fdata -> EndOfFile .LowPart |
You can’t perform that action at this time.
0 commit comments