The file map code isn't that smart yet...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22916 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-11-13 11:20:17 +00:00
parent c1fad34e5c
commit ddd1769901
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ file_map_set_size(void *_map, off_t size)
// TODO: honour offset/size parameters
file_map *map = (file_map *)_map;
if (size < map->size)
// if (size < map->size)
map->Free();
map->size = size;
}

View File

@ -220,7 +220,7 @@ fssh_file_map_set_size(void *_map, fssh_off_t size)
// TODO: honour offset/size parameters
file_map *map = (file_map *)_map;
if (size < map->size)
//if (size < map->size)
map->Free();
map->size = size;
}