From b5411d4fcb3da9576163675f965689defd98ce48 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Sun, 13 Mar 2005 12:00:41 +0000 Subject: - Fix an assert now that the XLOCK no longer exists. Sponsored by: Isilon Systems, Inc. --- sys/ufs/ffs/ffs_inode.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index a338bdaec166..39bb6351480b 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -80,10 +80,7 @@ ffs_update(vp, waitfor) struct inode *ip; int error; -#ifdef DEBUG_VFS_LOCKS - if ((vp->v_iflag & VI_XLOCK) == 0) - ASSERT_VOP_LOCKED(vp, "ffs_update"); -#endif + ASSERT_VOP_LOCKED(vp, "ffs_update"); ufs_itimes(vp); ip = VTOI(vp); if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) -- cgit v1.2.3