[Kernel] Removed obsolete message in regards to previous change
Updated log message to provide more info
This commit is contained in:
parent
651fdc0344
commit
9ba96d46d1
|
@ -250,13 +250,12 @@ dword_result_t NtSetInformationFile_entry(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case XFileDispositionInformation: {
|
case XFileDispositionInformation: {
|
||||||
// Used to set deletion flag. Which we don't support. Probably?
|
|
||||||
auto info = info_ptr.as<X_FILE_DISPOSITION_INFORMATION*>();
|
auto info = info_ptr.as<X_FILE_DISPOSITION_INFORMATION*>();
|
||||||
bool delete_on_close = info->delete_file ? true : false;
|
bool delete_on_close = info->delete_file ? true : false;
|
||||||
file->entry()->SetForDeletion(static_cast<bool>(info->delete_file));
|
file->entry()->SetForDeletion(static_cast<bool>(info->delete_file));
|
||||||
out_length = 0;
|
out_length = 0;
|
||||||
XELOGW("NtSetInformationFile ignoring delete on close: {}",
|
XELOGW("NtSetInformationFile set deleting flag for {} on close to: {}",
|
||||||
delete_on_close);
|
file->name(), delete_on_close);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case XFilePositionInformation: {
|
case XFilePositionInformation: {
|
||||||
|
|
Loading…
Reference in New Issue