aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2005-03-13 12:00:41 +0000
committerJeff Roberson <jeff@FreeBSD.org>2005-03-13 12:00:41 +0000
commitb5411d4fcb3da9576163675f965689defd98ce48 (patch)
tree641ac4345abb0d3d089066d370b755dfefcf439f
parentb6ee8476d3d1e067b08881fe84c8edf89f7ce7c1 (diff)
downloadsrc-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.c5
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)