mirror of
https://github.com/ksherlock/profuse.git
synced 2024-06-02 10:41:30 +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:
parent
6a4e4f4f7f
commit
f81205b63f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user