{
struct ac_unode *unp, *res;
- unp = kmalloc(sizeof(struct ac_unode),
- M_MOUNT, M_ZERO|M_WAITOK);
+ unp = kmalloc(sizeof(struct ac_unode), M_MOUNT, M_ZERO | M_WAITOK);
unp->left_bits = (uid >> ACCT_CHUNK_BITS);
res = RB_INSERT(ac_utree, &mp->mnt_acct.ac_uroot, unp);
{
struct ac_gnode *gnp, *res;
- gnp = kmalloc(sizeof(struct ac_gnode),
- M_MOUNT, M_ZERO|M_WAITOK);
+ gnp = kmalloc(sizeof(struct ac_gnode), M_MOUNT, M_ZERO | M_WAITOK);
gnp->left_bits = (gid >> ACCT_CHUNK_BITS);
res = RB_INSERT(ac_gtree, &mp->mnt_acct.ac_groot, gnp);
/* and enable data collection */
mp->mnt_op->vfs_account = vfs_stdaccount;
- kprintf("vfs accounting enabled for %s\n",
- mp->mnt_stat.f_mntonname);
+ if (bootverbose)
+ kprintf("vfs accounting enabled for %s\n",
+ mp->mnt_stat.f_mntonname);
}