--------------------- PatchSet 1509 Date: 2001/02/07 09:49:06 Author: adri Branch: sfs Tag: (none) Log: Revert the previous change, which is wrong - request_queue is not part of the struct, its a pointer which is malloced at mount time. The fact I'm finding it to be NULL is an indication of a *different* bug. Members: src/fs/sfs/sfs_util.c:1.1.2.14->1.1.2.15 Index: squid/src/fs/sfs/sfs_util.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/fs/sfs/Attic/sfs_util.c,v retrieving revision 1.1.2.14 retrieving revision 1.1.2.15 diff -u -r1.1.2.14 -r1.1.2.15 --- squid/src/fs/sfs/sfs_util.c 7 Feb 2001 09:42:35 -0000 1.1.2.14 +++ squid/src/fs/sfs/sfs_util.c 7 Feb 2001 09:49:06 -0000 1.1.2.15 @@ -99,7 +99,7 @@ { /* add the request to the end of the list rather than the start */ pthread_mutex_lock(&(_sfs_mounted[req->sfsid].req_lock)); - dlinkAddTail(req, &req->node, &(_sfs_mounted[req->sfsid].request_queue)); + dlinkAddTail(req, &req->node, _sfs_mounted[req->sfsid].request_queue); _sfs_mounted[req->sfsid].pending_requests++; pthread_mutex_unlock(&(_sfs_mounted[req->sfsid].req_lock));