* path.cc (fs_info::update): Re-add opening the unsplitted path
for fillout_mntent's sake.
This commit is contained in:
parent
ec0165f29c
commit
4c5627e7e2
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue