comment police: DIRBLKSIZE would be too chatty and therefore the

macro is known as DIRBLKSIZ
This commit is contained in:
pooka 2007-07-23 14:58:04 +00:00
parent e92cf7fb11
commit 2189caca89

View File

@ -1,4 +1,4 @@
/* $NetBSD: ufs_lookup.c,v 1.90 2007/07/21 19:06:22 ad Exp $ */ /* $NetBSD: ufs_lookup.c,v 1.91 2007/07/23 14:58:04 pooka Exp $ */
/* /*
* Copyright (c) 1989, 1993 * Copyright (c) 1989, 1993
@ -37,7 +37,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ufs_lookup.c,v 1.90 2007/07/21 19:06:22 ad Exp $"); __KERNEL_RCSID(0, "$NetBSD: ufs_lookup.c,v 1.91 2007/07/23 14:58:04 pooka Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_ffs.h" #include "opt_ffs.h"
@ -273,7 +273,7 @@ searchloop:
entryoffsetinblock = 0; entryoffsetinblock = 0;
} }
/* /*
* If still looking for a slot, and at a DIRBLKSIZE * If still looking for a slot, and at a DIRBLKSIZ
* boundary, have to start looking for free space again. * boundary, have to start looking for free space again.
*/ */
if (slotstatus == NONE && if (slotstatus == NONE &&
@ -872,7 +872,7 @@ ufs_direnter(struct vnode *dvp, struct vnode *tvp, struct direct *dirp,
/* /*
* Increase size of directory if entry eats into new space. * Increase size of directory if entry eats into new space.
* This should never push the size past a new multiple of * This should never push the size past a new multiple of
* DIRBLKSIZE. * DIRBLKSIZ.
* *
* N.B. - THIS IS AN ARTIFACT OF 4.2 AND SHOULD NEVER HAPPEN. * N.B. - THIS IS AN ARTIFACT OF 4.2 AND SHOULD NEVER HAPPEN.
*/ */