mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 04:43:21 +00:00
[FASTFAT]
Ooops! That should not have been committed! svn path=/trunk/; revision=69892
This commit is contained in:
parent
ad4b705148
commit
8d8012fbfb
1 changed files with 1 additions and 7 deletions
|
@ -340,7 +340,6 @@ VfatSetDispositionInformation(
|
||||||
|
|
||||||
if (*FCB->Attributes & FILE_ATTRIBUTE_READONLY)
|
if (*FCB->Attributes & FILE_ATTRIBUTE_READONLY)
|
||||||
{
|
{
|
||||||
DPRINT1("\n");
|
|
||||||
return STATUS_CANNOT_DELETE;
|
return STATUS_CANNOT_DELETE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -349,10 +348,7 @@ DPRINT1("\n");
|
||||||
(FCB->LongNameU.Length == 2 * sizeof(WCHAR) && FCB->LongNameU.Buffer[0] == L'.' && FCB->LongNameU.Buffer[1] == L'.'))
|
(FCB->LongNameU.Length == 2 * sizeof(WCHAR) && FCB->LongNameU.Buffer[0] == L'.' && FCB->LongNameU.Buffer[1] == L'.'))
|
||||||
{
|
{
|
||||||
/* we cannot delete a '.', '..' or the root directory */
|
/* we cannot delete a '.', '..' or the root directory */
|
||||||
|
return STATUS_ACCESS_DENIED;
|
||||||
DPRINT1("\n");
|
|
||||||
return STATUS_CANNOT_DELETE;
|
|
||||||
// return STATUS_ACCESS_DENIED;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!MmFlushImageSection (FileObject->SectionObjectPointer, MmFlushForDelete))
|
if (!MmFlushImageSection (FileObject->SectionObjectPointer, MmFlushForDelete))
|
||||||
|
@ -360,7 +356,6 @@ DPRINT1("\n");
|
||||||
/* can't delete a file if its mapped into a process */
|
/* can't delete a file if its mapped into a process */
|
||||||
|
|
||||||
DPRINT("MmFlushImageSection returned FALSE\n");
|
DPRINT("MmFlushImageSection returned FALSE\n");
|
||||||
DPRINT1("\n");
|
|
||||||
return STATUS_CANNOT_DELETE;
|
return STATUS_CANNOT_DELETE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -368,7 +363,6 @@ DPRINT1("\n");
|
||||||
{
|
{
|
||||||
/* can't delete a non-empty directory */
|
/* can't delete a non-empty directory */
|
||||||
|
|
||||||
DPRINT1("\n");
|
|
||||||
return STATUS_DIRECTORY_NOT_EMPTY;
|
return STATUS_DIRECTORY_NOT_EMPTY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue