equal
deleted
inserted
replaced
1592 iLock.Signal(); |
1592 iLock.Signal(); |
1593 } |
1593 } |
1594 |
1594 |
1595 void CFileCache::PropagateFlushErrorToAllFileShares() |
1595 void CFileCache::PropagateFlushErrorToAllFileShares() |
1596 { |
1596 { |
1597 FileShares->Lock(); |
1597 ASSERT(IsDriveThread()); |
1598 TInt count = FileShares->Count(); |
1598 TDblQueIter<CFileShare> fileShareIter(iFileCB->FileShareList()); |
1599 while(count--) |
1599 CFileShare* pFileShare; |
1600 { |
1600 while ((pFileShare = fileShareIter++) != NULL) |
1601 CFileShare* share = (CFileShare*)(*FileShares)[count]; |
1601 { |
1602 if (&share->File() == iFileCB) |
1602 pFileShare->iFlushError = iFlushError; |
1603 { |
1603 } |
1604 share->iFlushError = iFlushError; |
|
1605 } |
|
1606 } |
|
1607 FileShares->Unlock(); |
|
1608 } |
1604 } |
1609 |
1605 |
1610 /** |
1606 /** |
1611 CFileCache::DoFlushDirty() |
1607 CFileCache::DoFlushDirty() |
1612 |
1608 |