Panic when trying to access the small data region. It is not loaded from
disk. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27755 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -137,6 +137,10 @@ Stream::InitCheck()
|
||||
status_t
|
||||
Stream::GetNextSmallData(const small_data **_smallData) const
|
||||
{
|
||||
// TODO: Stream derives from bfs_inode and we read only sizeof(bfs_inode)
|
||||
// bytes from disk, i.e. the small data region is not in memory.
|
||||
panic("Stream::GetNextSmallData(): small data region is not loaded!");
|
||||
|
||||
const small_data *smallData = *_smallData;
|
||||
|
||||
// begin from the start?
|
||||
|
||||
Reference in New Issue
Block a user