Changeset 2703


Ignore:
Timestamp:
27/08/2010 10:19:45 (18 months ago)
Author:
chris
Message:

Count the root directory when creating a new account.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/backupstore/BackupStoreAccounts.cpp

    r2534 r2703  
    5656//              Name:    BackupStoreAccounts::Create(int32_t, int, int64_t, int64_t, const std::string &) 
    5757//              Purpose: Create a new account on the specified disc set. 
    58 //                              If rAsUsername is not empty, then the account information will be written under the 
    59 //                              username specified. 
     58//                      If rAsUsername is not empty, then the account information will be written under the 
     59//                      username specified. 
    6060//              Created: 2003/08/21 
    6161// 
     
    103103                info->ChangeBlocksUsed(rootDirSize); 
    104104                info->ChangeBlocksInDirectories(rootDirSize); 
     105                info->AdjustNumDirectories(1); 
    105106                 
    106107                // Save it back 
Note: See TracChangeset for help on using the changeset viewer.