diff -r d881023c13eb -r cbb1bfb7ebfb mmappcomponents/harvester/server/src/mpxfsformatmonitor.cpp --- a/mmappcomponents/harvester/server/src/mpxfsformatmonitor.cpp Mon May 03 12:58:40 2010 +0300 +++ b/mmappcomponents/harvester/server/src/mpxfsformatmonitor.cpp Fri May 14 16:21:14 2010 +0300 @@ -18,17 +18,11 @@ #include #include -#ifdef RD_MULTIPLE_DRIVE #include -#endif //RD_MULTIPLE_DRIVE #include #include "mpxfsformatmonitor.h" -#ifdef RD_MULTIPLE_DRIVE - static const TInt KDriveCount = 2; -#else - static const TInt KDriveCount = 1; -#endif +static const TInt KDriveCount = 2; // ======== MEMBER FUNCTIONS ======== @@ -142,6 +136,12 @@ } else // TOperationType::EEnd or TOperationType::EAbort { + //Ignore if formatting is ongoing + TBool formatting = iBackupSession->IsBackupOperationRunning(); + if ( formatting ) + { + return; + } for(TInt i=0; i