* path.cc (fs_info::update): Re-add opening the unsplitted path

for fillout_mntent's sake.
This commit is contained in:
Corinna Vinschen 2008-05-20 17:18:08 +00:00
parent ec0165f29c
commit 4c5627e7e2
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-05-20 Corinna Vinschen <corinna@vinschen.de>
* path.cc (fs_info::update): Re-add opening the unsplitted path
for fillout_mntent's sake.
2008-05-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Create directories

View File

@ -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))