Diff for /src/sys/vfs/hpfs/hpfs.h between versions 1.8 and 1.9

version 1.8, 2003/11/15 21:05:44 version 1.9, 2004/02/05 21:03:37
Line 378  struct hpfid { Line 378  struct hpfid {
 #define dprintf(a)  #define dprintf(a)
 #define ddprintf(a)  #define ddprintf(a)
 #endif  #endif
   
 #if __FreeBSD_version >= 300000  
 MALLOC_DECLARE(M_HPFSMNT);  MALLOC_DECLARE(M_HPFSMNT);
 MALLOC_DECLARE(M_HPFSNO);  MALLOC_DECLARE(M_HPFSNO);
 #endif  
 #define VFSTOHPFS(mp)   ((struct hpfsmount *)((mp)->mnt_data))  #define VFSTOHPFS(mp)   ((struct hpfsmount *)((mp)->mnt_data))
 #define VTOHP(v)        ((struct hpfsnode *)((v)->v_data))  #define VTOHP(v)        ((struct hpfsnode *)((v)->v_data))
 #define HPTOV(h)        ((struct vnode *)((h)->h_vp))  #define HPTOV(h)        ((struct vnode *)((h)->h_vp))
Line 400  typedef int (vop_t) (void *); Line 397  typedef int (vop_t) (void *);
 #define VGET(a, b, c)           vget((a), LK_EXCLUSIVE)  #define VGET(a, b, c)           vget((a), LK_EXCLUSIVE)
 #define VN_LOCK(a, b, c)        vn_lock((a), LK_EXCLUSIVE)  #define VN_LOCK(a, b, c)        vn_lock((a), LK_EXCLUSIVE)
 #define LOCKMGR(a, b, c, d)     lockmgr((a), (b), (c))  #define LOCKMGR(a, b, c, d)     lockmgr((a), (b), (c))
#else  /* defined(__FreeBSD__) */#else  /* defined(__DragonFly__) */
 #define HASHINIT(a, b, c, d)    hashinit((a), (b), (d))  #define HASHINIT(a, b, c, d)    hashinit((a), (b), (d))
 #define VOP__LOCK(a, b, c)      VOP_LOCK((a), (b), (c))  #define VOP__LOCK(a, b, c)      VOP_LOCK((a), (b), (c))
 #define VOP__UNLOCK(a, b, c)    VOP_UNLOCK((a), (b), (c))  #define VOP__UNLOCK(a, b, c)    VOP_UNLOCK((a), (b), (c))

Removed from v.1.8  
changed lines
  Added in v.1.9