diff options
author | 2018-03-28 09:37:42 +0000 | |
---|---|---|
committer | 2018-03-28 09:37:42 +0000 | |
commit | e24cb26ce06dd34f9d06e74e92084daf497714e4 (patch) | |
tree | c305b33a830933054cb1a69a367d57fd0488061e /sys | |
parent | Configure tx and rx chain delay based on device tree properties. (diff) | |
download | wireguard-openbsd-e24cb26ce06dd34f9d06e74e92084daf497714e4.tar.xz wireguard-openbsd-e24cb26ce06dd34f9d06e74e92084daf497714e4.zip |
Mark ext2fs inode recursive lock as RWL_IS_VNODE like for ffs to let it
play with WITNESS.
ok visa@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c index 94e6ecef289..84c9305b1c0 100644 --- a/sys/ufs/ext2fs/ext2fs_vfsops.c +++ b/sys/ufs/ext2fs/ext2fs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_vfsops.c,v 1.103 2018/03/15 04:22:15 deraadt Exp $ */ +/* $OpenBSD: ext2fs_vfsops.c,v 1.104 2018/03/28 09:37:42 mpi Exp $ */ /* $NetBSD: ext2fs_vfsops.c,v 1.1 1997/06/11 09:34:07 bouyer Exp $ */ /* @@ -851,7 +851,7 @@ ext2fs_vget(struct mount *mp, ino_t ino, struct vnode **vpp) } ip = pool_get(&ext2fs_inode_pool, PR_WAITOK|PR_ZERO); - rrw_init_flags(&ip->i_lock, "inode", RWL_DUPOK); + rrw_init_flags(&ip->i_lock, "inode", RWL_DUPOK | RWL_IS_VNODE); vp->v_data = ip; ip->i_vnode = vp; ip->i_ump = ump; |