search for: link_idev_data

Displaying 3 results from an estimated 3 matches for "link_idev_data".

2006 Oct 21
1
Rsync 2.6.9pre2 tries to read ACLs of nonexistent files
Dear rsync people, Today I tried to back up my computer using rsnapshot with the RPM version of rsync-acl 2.6.9pre1 that I built. I tried twice, and both times, rsync encountered some kind of assertion failure. I was trying to reproduce the crash with rsync-acl 2.6.9pre2 and noticed a different bug (described below); when I have a chance, I will go back and investigate the crash further. Rsync
2004 Feb 06
4
memory reduction
....c --- cvs/hlink.c Mon Feb 2 22:21:19 2004 +++ pool2/hlink.c Wed Feb 4 01:35:49 2004 @@ -46,26 +46,41 @@ int hlink_count; /* Analyze the data in the hlink_list[], remove items that aren't multiply * linked, and replace the dev+inode data with the hlindex+next linked list. */ -static void link_idev_data(void) +static void link_idev_data(struct file_list *flist) { struct file_struct *head; int from, to, start; + alloc_pool_t hlink_pool; + alloc_pool_t idev_pool = flist->hlink_pool; + + hlink_pool = pool_create(128 * 1024, sizeof (struct hlink), + out_of_memory, POOL_INTERN); + for (...
2004 Jan 25
2
scan for first existing hard-link file
...file_compare(file1, file2); } -static struct file_struct **hlink_list; -static int hlink_count; +struct file_struct **hlink_list; +int hlink_count; #define LINKED(p1,p2) ((p1)->F_DEV == (p2)->F_DEV \ && (p1)->F_INODE == (p2)->F_INODE) @@ -56,13 +56,14 @@ static void link_idev_data(void) head = hlink_list[start]; while (from < hlink_count-1 && LINKED(hlink_list[from], hlink_list[from+1])) { - hlink_list[from]->F_HEAD = head; + hlink_list[from]->F_INDEX = to; hlink_list[from]->F_NEXT = hlink_list[from+1]; from++; } if (from &g...