--- src/sys/vfs/hammer/hammer_inode.c 2008/06/23 07:31:14 1.82 +++ src/sys/vfs/hammer/hammer_inode.c 2008/06/23 21:42:48 1.83 @@ -491,7 +491,7 @@ hammer_create_inode(hammer_transaction_t if (pseudofs) ip->obj_id = HAMMER_OBJID_ROOT; else - ip->obj_id = hammer_alloc_objid(trans, dip); + ip->obj_id = hammer_alloc_objid(hmp, dip); ip->obj_localization = localization; KKASSERT(ip->obj_id != 0);