Correct assertion in hammer2_freei.
authorVenkatesh Srinivas <me@endeavour.zapto.org>
Fri, 10 Feb 2012 03:46:13 +0000 (22:46 -0500)
committerVenkatesh Srinivas <me@endeavour.zapto.org>
Fri, 10 Feb 2012 03:46:13 +0000 (22:46 -0500)
sys/vfs/hammer2/hammer2_subr.c

index 27be634..d8b52f8 100644 (file)
@@ -276,8 +276,8 @@ void
 hammer2_freei(hammer2_inode_t *ip)
 {
        hammer2_mount_t *hmp = ip->hmp;
-
-       KKASSERT(ip->hmp == NULL);
+       
+       KKASSERT(ip->hmp != NULL);
        KKASSERT(ip->vp == NULL);
        KKASSERT(ip->refs == 1);
        hammer2_inode_unlock_ex(ip);