pkgsrc/net/nasd/patches/patch-bi
agc 4b619e493a Initial import of nasd-1.3, a prototype storage implementation, from CMU.
The original tar file has trailing base64 checksums, so I have
repackaged the tar file for just now.

	This is release 1.3 of the Parallel Data Laboratory NASD
	software prototype.  The release includes the NASD drive
	prototype, the NASD-NFS filemanager, simple client APIs, a
	regression-testing suite, sample programs, a snapshot of
	Cheops (which is one implementation of aggregation over
	multiple NASDs), and some basic documentation.
2005-05-04 08:56:49 +00:00

23 lines
1.2 KiB
Text

$NetBSD: patch-bi,v 1.1.1.1 2005/05/04 08:56:50 agc Exp $
Index: include/nasd/nasd_security_dr.h
===================================================================
RCS file: /usr/cvsroot/nasd/nasd-1.3/include/nasd/nasd_security_dr.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- include/nasd/nasd_security_dr.h 21 Mar 2005 08:52:03 -0000 1.1.1.1
+++ include/nasd/nasd_security_dr.h 21 Mar 2005 17:07:28 -0000 1.2
@@ -66,9 +66,9 @@
#define NASD_KC_BUCKET(_nid_) NASD_ABS((int)((_nid_)%nasd_sec_kc_buckets))
/* here we shamelessly steal the queue-manipulation macros from the ODC. */
-#define NASD_KCQ_INS(_q_,_ent_,_list_) NASD_ODC_Q_INS_NOLOCK(_q_,_ent_,_list_)
-#define NASD_KCQ_DEQ(_ent_,_list_) NASD_ODC_Q_DEQ_NOLOCK(_ent_,_list_)
-#define NASD_KCQ_DEQ_TAIL(_q_,_ent_,_list_) NASD_ODC_Q_DEQ_TAIL_NOLOCK(_q_,_ent_,_list_)
+#define NASD_KCQ_INS(_q_,_ent_,_nxt_,_prv_) NASD_ODC_Q_INS_NOLOCK(_q_,_ent_,_nxt_,_prv_)
+#define NASD_KCQ_DEQ(_ent_,_nxt_,_prv_) NASD_ODC_Q_DEQ_NOLOCK(_ent_,_nxt_,_prv_)
+#define NASD_KCQ_DEQ_TAIL(_q_,_ent_,_nxt_,_prv_) NASD_ODC_Q_DEQ_TAIL_NOLOCK(_q_,_ent_,_nxt_,_prv_)
#define NASD_KCQ_SIZE(_q_) ((_q_)->size)
#define NASD_KC_LOCK() NASD_LOCK_MUTEX(nasd_sec_kc_lock)