summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-03-13 12:00:41 +0000
committerjeff <jeff@FreeBSD.org>2005-03-13 12:00:41 +0000
commit751e097009a4c59a5bd59f7af63875a06298f3d9 (patch)
tree641ac4345abb0d3d089066d370b755dfefcf439f /sys/ufs
parent95aad63765ded717a3938f541d295a29240119db (diff)
downloadFreeBSD-src-751e097009a4c59a5bd59f7af63875a06298f3d9.zip
FreeBSD-src-751e097009a4c59a5bd59f7af63875a06298f3d9.tar.gz
- Fix an assert now that the XLOCK no longer exists.
Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/ufs')
-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 a338bda..39bb635 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)
OpenPOWER on IntegriCloud