File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -1166,13 +1166,8 @@ _Py_stat_basic_info_to_stat(FILE_STAT_BASIC_INFORMATION *info,
1166
1166
/* File systems with less than 128-bits zero pad into this field */
1167
1167
id_128_to_ino file_id ;
1168
1168
file_id .id = info -> FileId128 ;
1169
- if (file_id .st_ino && file_id .st_ino_high ) {
1170
- result -> st_ino = file_id .st_ino ;
1171
- result -> st_ino_high = file_id .st_ino_high ;
1172
- } else {
1173
- result -> st_ino = info -> FileId .QuadPart ;
1174
- result -> st_ino_high = 0 ;
1175
- }
1169
+ result -> st_ino = file_id .st_ino ;
1170
+ result -> st_ino_high = file_id .st_ino_high ;
1176
1171
/* bpo-37834: Only actual symlinks set the S_IFLNK flag. But lstat() will
1177
1172
open other name surrogate reparse points without traversing them. To
1178
1173
detect/handle these, check st_file_attributes and st_reparse_tag. */
You can’t perform that action at this time.
0 commit comments