// Remove the Ccb and de-allocate it
//
- ntStatus = AFSRemoveCcb( pFcb,
- pCcb);
-
- if( !NT_SUCCESS( ntStatus))
- {
-
- AFSDbgLogMsg( AFS_SUBSYSTEM_FILE_PROCESSING,
- AFS_TRACE_LEVEL_WARNING,
- "AFSClose Failed to remove Ccb from Fcb Status %08lX\n", ntStatus);
-
- //
- // We can't actually fail a close operation so reset the status
- //
-
- ntStatus = STATUS_SUCCESS;
- }
+ AFSRemoveCcb( pFcb,
+ pCcb);
lCount = InterlockedDecrement( &pDirCB->DirOpenReferenceCount);
// Remove the Ccb and de-allocate it
//
- ntStatus = AFSRemoveCcb( pFcb,
- pCcb);
-
- if( !NT_SUCCESS( ntStatus))
- {
-
- AFSDbgLogMsg( AFS_SUBSYSTEM_FILE_PROCESSING,
- AFS_TRACE_LEVEL_WARNING,
- "AFSClose Failed to remove Ccb from Fcb Status %08lX\n", ntStatus);
-
- //
- // We can't actually fail a close operation so reset the status
- //
-
- ntStatus = STATUS_SUCCESS;
- }
+ AFSRemoveCcb( pFcb,
+ pCcb);
lCount = InterlockedDecrement( &pDirCB->DirOpenReferenceCount);
// Remove the Ccb and de-allocate it
//
- ntStatus = AFSRemoveCcb( pFcb,
- pCcb);
-
- if( !NT_SUCCESS( ntStatus))
- {
-
- AFSDbgLogMsg( AFS_SUBSYSTEM_FILE_PROCESSING,
- AFS_TRACE_LEVEL_WARNING,
- "AFSClose Failed to remove Ccb from Fcb Status %08lX\n",
- ntStatus);
-
- //
- // We can't actually fail a close operation so reset the status
- //
-
- ntStatus = STATUS_SUCCESS;
- }
+ AFSRemoveCcb( pFcb,
+ pCcb);
//
// If this entry is deleted then remove the object from the volume tree
// Remove the Ccb and de-allocate it
//
- ntStatus = AFSRemoveCcb( pFcb,
- pCcb);
-
- if( !NT_SUCCESS( ntStatus))
- {
-
- AFSDbgLogMsg( AFS_SUBSYSTEM_FILE_PROCESSING,
- AFS_TRACE_LEVEL_WARNING,
- "AFSClose Failed to remove Ccb from Fcb Status %08lX\n", ntStatus);
-
- //
- // We can't actually fail a close operation so reset the status
- //
-
- ntStatus = STATUS_SUCCESS;
- }
+ AFSRemoveCcb( pFcb,
+ pCcb);
lCount = InterlockedDecrement( &pDirCB->DirOpenReferenceCount);