mirror of
https://github.com/ksherlock/profuse.git
synced 2026-04-21 05:16:58 +00:00
set _parent in create()
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@310 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
@@ -595,6 +595,7 @@ FileEntry *VolumeEntry::create(const char *name, unsigned blocks)
|
||||
_fileCount++;
|
||||
curr = entry.release();
|
||||
|
||||
curr->_parent = this;
|
||||
curr->_firstBlock = lastBlock;
|
||||
curr->_lastBlock = lastBlock + 1;
|
||||
curr->_lastByte = 0;
|
||||
@@ -624,6 +625,7 @@ FileEntry *VolumeEntry::create(const char *name, unsigned blocks)
|
||||
|
||||
curr = entry.release();
|
||||
|
||||
curr->_parent = this;
|
||||
curr->_firstBlock = lastBlock;
|
||||
curr->_lastBlock = lastBlock + 1;
|
||||
curr->_lastByte = 0;
|
||||
|
||||
Reference in New Issue
Block a user