Minor size shrinkage.
This commit is contained in:
parent
9a202c9daa
commit
9a1a9de49f
@ -677,10 +677,8 @@ static void read_superblock(void)
|
|||||||
|
|
||||||
static void read_tables(void)
|
static void read_tables(void)
|
||||||
{
|
{
|
||||||
inode_map = xmalloc(IMAPS * BLOCK_SIZE);
|
inode_map = xzalloc(IMAPS * BLOCK_SIZE);
|
||||||
zone_map = xmalloc(ZMAPS * BLOCK_SIZE);
|
zone_map = xzalloc(ZMAPS * BLOCK_SIZE);
|
||||||
memset(inode_map, 0, IMAPS * BLOCK_SIZE);
|
|
||||||
memset(zone_map, 0, ZMAPS * BLOCK_SIZE);
|
|
||||||
inode_buffer = xmalloc(INODE_BUFFER_SIZE);
|
inode_buffer = xmalloc(INODE_BUFFER_SIZE);
|
||||||
inode_count = xmalloc(INODES + 1);
|
inode_count = xmalloc(INODES + 1);
|
||||||
zone_count = xmalloc(ZONES);
|
zone_count = xmalloc(ZONES);
|
||||||
|
Loading…
Reference in New Issue
Block a user