Do not call CcUnpinData() with NULL PtrBCB.

svn path=/trunk/; revision=42569
This commit is contained in:
Dmitry Gorbachev 2009-08-09 17:26:10 +00:00
parent 5f73e1c2bc
commit f2a7907cb7

View file

@ -1410,8 +1410,12 @@ ULONG NTAPI Ext2LocateFileInDisk (
}
}
CcUnpinData( PtrBCB );
PtrBCB = NULL;
// FIXME
if( PtrBCB )
{
CcUnpinData( PtrBCB );
PtrBCB = NULL;
}
return InodeNo;
}