pack now takes a vnode instead of a dev
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 7 Mar 1990 10:55:23 +0000 (02:55 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 7 Mar 1990 10:55:23 +0000 (02:55 -0800)
SCCS-vsn: sys/sys/trace.h 7.2

usr/src/sys/sys/trace.h

index ed01fab..e37f3e5 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)trace.h     7.1 (Berkeley) %G%
+ *     @(#)trace.h     7.2 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -78,7 +78,7 @@ struct        proc *traceproc;
 int    tracebuf[TRCSIZ];
 unsigned tracex;
 int    tracewhich;
 int    tracebuf[TRCSIZ];
 unsigned tracex;
 int    tracewhich;
-#define        pack(a,b)       ((a)<<16)|(b)
+#define        pack(v,b)       (((v)->v_mount->m_stat.f_fsid[0])<<16)|(b)
 #define        trace(a,b,c)    if (traceflags[a]) trace1(a,b,c)
 #else
 #define        trace(a,b,b)    ;
 #define        trace(a,b,c)    if (traceflags[a]) trace1(a,b,c)
 #else
 #define        trace(a,b,b)    ;