diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 023018f29..64a566fc5 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2008-05-20 Corinna Vinschen + + * path.cc (fs_info::update): Re-add opening the unsplitted path + for fillout_mntent's sake. + 2008-05-20 Corinna Vinschen * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Create directories diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 923b07558..84dca6db0 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -396,6 +396,8 @@ fs_info::update (PUNICODE_STRING upath, HANDLE in_vol) { InitializeObjectAttributes (&attr, upath, OBJ_CASE_INSENSITIVE, NULL, NULL); + status = NtOpenFile (&vol, READ_CONTROL, &attr, &io, + FILE_SHARE_VALID_FLAGS, FILE_OPEN_FOR_BACKUP_INTENT); while (!NT_SUCCESS (status) && (attr.ObjectName->Length > 7 * sizeof (WCHAR) || status == STATUS_NO_MEDIA_IN_DEVICE))