[Kernel] Removed obsolete message in regards to previous change

Updated log message to provide more info
This commit is contained in:
Gliniak 2024-08-16 21:01:42 +02:00
parent 651fdc0344
commit 9ba96d46d1
1 changed files with 2 additions and 3 deletions

View File

@ -250,13 +250,12 @@ dword_result_t NtSetInformationFile_entry(
break;
}
case XFileDispositionInformation: {
// Used to set deletion flag. Which we don't support. Probably?
auto info = info_ptr.as<X_FILE_DISPOSITION_INFORMATION*>();
bool delete_on_close = info->delete_file ? true : false;
file->entry()->SetForDeletion(static_cast<bool>(info->delete_file));
out_length = 0;
XELOGW("NtSetInformationFile ignoring delete on close: {}",
delete_on_close);
XELOGW("NtSetInformationFile set deleting flag for {} on close to: {}",
file->name(), delete_on_close);
break;
}
case XFilePositionInformation: {