[freeldr] Allow opening of the raw device

svn path=/trunk/; revision=45812
This commit is contained in:
Hervé Poussineau 2010-03-03 22:39:32 +00:00
parent 3ddda873f8
commit 4f1c346e27

View file

@ -319,6 +319,13 @@ LONG ArcOpen(CHAR* Path, OPENMODE OpenMode, ULONG* FileId)
FileData[DeviceId].FuncTable = NULL;
return ret;
}
else if (!*FileName)
{
/* Done, caller wanted to open the raw device */
*FileId = DeviceId;
pDevice->ReferenceCount++;
return ESUCCESS;
}
/* Try to detect the file system */
#ifndef _M_ARM