diff options
author | jhb <jhb@FreeBSD.org> | 2001-11-27 00:08:04 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-11-27 00:08:04 +0000 |
commit | 0dc259caa3a844e61c9d534587882d56247ae8ef (patch) | |
tree | 22503bbc49eb76546ebb1e51de8bf6b3149e6d91 /sys/fs/hpfs/hpfs_subr.h | |
parent | b4d8ef062a6f58445415e781d6537581f1eb631f (diff) | |
download | FreeBSD-src-0dc259caa3a844e61c9d534587882d56247ae8ef.zip FreeBSD-src-0dc259caa3a844e61c9d534587882d56247ae8ef.tar.gz |
Expand LOCKMGR() compat macro.
Diffstat (limited to 'sys/fs/hpfs/hpfs_subr.h')
-rw-r--r-- | sys/fs/hpfs/hpfs_subr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/hpfs/hpfs_subr.h b/sys/fs/hpfs/hpfs_subr.h index 46d2f41..9409152 100644 --- a/sys/fs/hpfs/hpfs_subr.h +++ b/sys/fs/hpfs/hpfs_subr.h @@ -78,8 +78,8 @@ int hpfs_breadstruct (struct hpfsmount *, lsn_t, u_int, u_int32_t, hpfs_breadstruct(hpmp, lsn, D_BSIZE, D_MAGIC, bpp) #if 0 -#define hpfs_hplock(hp, p) LOCKMGR(&(hp)->h_intlock, LK_EXCLUSIVE, (p)) -#define hpfs_hpunlock(hp, p) LOCKMGR(&(hp)->h_intlock, LK_RELEASE, (p)) +#define hpfs_hplock(hp, p) lockmgr(&(hp)->h_intlock, LK_EXCLUSIVE, (p), NULL) +#define hpfs_hpunlock(hp, p) lockmgr(&(hp)->h_intlock, LK_RELEASE, (p), NULL) #endif int hpfs_hpbmap (struct hpfsnode *, daddr_t, daddr_t *, int *); |