search for: pool_talloc

Displaying 1 result from an estimated 1 matches for "pool_talloc".

Did you mean: pool_alloc
2004 Feb 06
4
memory reduction
...t_len); bp += file_struct_len; @@ -634,9 +634,9 @@ void receive_file_entry(struct file_stru file->gid = gid; #if SUPPORT_HARD_LINKS - if (idev_len) { - file->link_u.idev = (struct idev *)bp; - bp += idev_len; + if (idev_len && flist->hlink_pool) { + file->link_u.idev = pool_talloc(flist->hlink_pool, + struct idev, 1, "inode_table"); } #endif @@ -668,15 +668,19 @@ void receive_file_entry(struct file_stru #if SUPPORT_HARD_LINKS if (idev_len) { + INO64_T inode; if (protocol_version < 26) { dev = read_int(f); - file->F_INODE = read_int...