Skip to content

Commit

Permalink
Revert "Fixes mkdir on Windows"
Browse files Browse the repository at this point in the history
This reverts commit a665207.
  • Loading branch information
SuchAFuriousDeath committed Mar 31, 2024
1 parent 686d30a commit c21d024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kernel/src/fs/host/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ impl HostFile {
use std::ptr::null_mut;
use windows_sys::Wdk::{
Foundation::OBJECT_ATTRIBUTES,
Storage::FileSystem::{NtCreateFile, FILE_CREATE, FILE_DIRECTORY_FILE},
Storage::FileSystem::{NtCreateFile, FILE_DIRECTORY_FILE, FILE_OPEN},
};
use windows_sys::Win32::{
Foundation::{RtlNtStatusToDosError, STATUS_SUCCESS, UNICODE_STRING},
Expand Down Expand Up @@ -256,7 +256,7 @@ impl HostFile {
null_mut(),
FILE_ATTRIBUTE_DIRECTORY,
FILE_SHARE_READ | FILE_SHARE_WRITE,
FILE_CREATE,
FILE_OPEN,
FILE_DIRECTORY_FILE,
null_mut(),
0,
Expand Down

0 comments on commit c21d024

Please sign in to comment.