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:
Ingo Weinhold
2008-09-27 00:35:25 +00:00
parent 1cd8c4cc08
commit 9618c0dc63
@@ -137,6 +137,10 @@ Stream::InitCheck()
status_t status_t
Stream::GetNextSmallData(const small_data **_smallData) const 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; const small_data *smallData = *_smallData;
// begin from the start? // begin from the start?