diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-13 12:00:41 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-13 12:00:41 +0000 |
commit | b5411d4fcb3da9576163675f965689defd98ce48 (patch) | |
tree | 641ac4345abb0d3d089066d370b755dfefcf439f | |
parent | b6ee8476d3d1e067b08881fe84c8edf89f7ce7c1 (diff) | |
download | src-b5411d4fcb3da9576163675f965689defd98ce48.tar.gz src-b5411d4fcb3da9576163675f965689defd98ce48.zip |
- Fix an assert now that the XLOCK no longer exists.
Sponsored by: Isilon Systems, Inc.
Notes
Notes:
svn path=/head/; revision=143501
-rw-r--r-- | sys/ufs/ffs/ffs_inode.c | 5 |
1 files changed, 1 insertions, 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) |