Date: Mon, 13 Jul 2009 10:58:01 GMT From: Tatsiana Severyna <tatsianka@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 165996 for review Message-ID: <200907131058.n6DAw1JA074090@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165996 Change 165996 by tatsianka@tatsianka_zonder on 2009/07/13 10:57:50 Fix knlist_init Affected files ... .. //depot/projects/soc2009/tatsianka_puffs/puffs/puffs_node.c#7 edit .. //depot/projects/soc2009/tatsianka_puffs/putter/putter.c#5 edit Differences ... ==== //depot/projects/soc2009/tatsianka_puffs/puffs/puffs_node.c#7 (text+ko) ==== @@ -149,7 +149,7 @@ /* insert cookie on list, take off of interlock list */ mtx_init(&pnode->pn_mtx, "puffs pn_mtx", NULL, MTX_DEF); - knlist_init(&pnode->pn_sel.si_note, NULL, NULL, NULL, NULL); + knlist_init(&pnode->pn_sel.si_note, NULL, NULL, NULL, NULL, NULL); plist = puffs_cookie2hashlist(pmp, ck); mtx_lock(&pmp->pmp_lock); LIST_INSERT_HEAD(plist, pnode, pn_hashent); ==== //depot/projects/soc2009/tatsianka_puffs/putter/putter.c#5 (text+ko) ==== @@ -444,7 +444,7 @@ pi->pi_pid = pid; pi->pi_idx = dev2unit(dev); pi->pi_private = PUTTER_EMBRYO; - knlist_init(&pi->pi_sel.si_note, &pi_mtx, NULL, NULL, NULL); + knlist_init_mtx(&pi->pi_sel.si_note, &pi_mtx); mtx_unlock(&pi_mtx); TAILQ_INSERT_TAIL(&putter_ilist, pi, pi_entries);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907131058.n6DAw1JA074090>