mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
KDFS-windows-afsrdr-user-20080829
LICENSE MIT RDR_EnumerateDirectory does not take a Parent FID it taks a Directory FID
This commit is contained in:
parent
826b6c4f62
commit
e202ffeb0d
@ -332,7 +332,7 @@ RDR_PopulateCurrentEntry( IN AFSDirEnumEntry * pCurrentEntry,
|
||||
|
||||
void
|
||||
RDR_EnumerateDirectory( IN cm_user_t *userp,
|
||||
IN AFSFileID ParentID,
|
||||
IN AFSFileID DirID,
|
||||
IN AFSDirQueryCB *QueryCB,
|
||||
IN DWORD ResultBufferLength,
|
||||
IN OUT AFSCommResult **ResultCB)
|
||||
@ -350,8 +350,8 @@ RDR_EnumerateDirectory( IN cm_user_t *userp,
|
||||
|
||||
cm_InitReq(&req);
|
||||
|
||||
osi_Log4(afsd_logp, "RDR_EnumerateDirectory parent FID cell=0x%x vol=0x%x vn=0x%x uniq=0x%x",
|
||||
ParentID.Cell, ParentID.Volume, ParentID.Vnode, ParentID.Unique);
|
||||
osi_Log4(afsd_logp, "RDR_EnumerateDirectory FID cell=0x%x vol=0x%x vn=0x%x uniq=0x%x",
|
||||
DirID.Cell, DirID.Volume, DirID.Vnode, DirID.Unique);
|
||||
|
||||
*ResultCB = (AFSCommResult *)malloc(size);
|
||||
if (!(*ResultCB)) {
|
||||
@ -374,12 +374,12 @@ RDR_EnumerateDirectory( IN cm_user_t *userp,
|
||||
pCurrentEntry = (AFSDirEnumEntry *)&pDirEnumResp->Entry;
|
||||
dwMaxEntryLength -= FIELD_OFFSET( AFSDirEnumResp, Entry); /* AFSDirEnumResp */
|
||||
|
||||
if (ParentID.Cell != 0) {
|
||||
fid.cell = ParentID.Cell;
|
||||
fid.volume = ParentID.Volume;
|
||||
fid.vnode = ParentID.Vnode;
|
||||
fid.unique = ParentID.Unique;
|
||||
fid.hash = ParentID.Hash;
|
||||
if (DirID.Cell != 0) {
|
||||
fid.cell = DirID.Cell;
|
||||
fid.volume = DirID.Volume;
|
||||
fid.vnode = DirID.Vnode;
|
||||
fid.unique = DirID.Unique;
|
||||
fid.hash = DirID.Hash;
|
||||
|
||||
code = cm_GetSCache(&fid, &dscp, userp, &req);
|
||||
if (code) {
|
||||
|
@ -773,7 +773,7 @@ RDR_ProcessRequest( AFSCommRequest *RequestBuffer)
|
||||
|
||||
|
||||
|
||||
DWORD
|
||||
extern "C" DWORD
|
||||
RDR_RequestExtentRelease(DWORD numOfExtents, LARGE_INTEGER numOfHeldExtents)
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user