projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lint
[unix-history]
/
usr
/
src
/
sys
/
ufs
/
ffs
/
ffs_inode.c
diff --git
a/usr/src/sys/ufs/ffs/ffs_inode.c
b/usr/src/sys/ufs/ffs/ffs_inode.c
index
4c0b04f
..
892eae3
100644
(file)
--- a/
usr/src/sys/ufs/ffs/ffs_inode.c
+++ b/
usr/src/sys/ufs/ffs/ffs_inode.c
@@
-54,8
+54,10
@@
ufs_init()
register int i;
register union ihead *ih = ihead;
register int i;
register union ihead *ih = ihead;
+#ifndef lint
if (VN_MAXPRIVATE < sizeof(struct inode))
panic("ihinit: too small");
if (VN_MAXPRIVATE < sizeof(struct inode))
panic("ihinit: too small");
+#endif /* not lint */
for (i = INOHSZ; --i >= 0; ih++) {
ih->ih_head[0] = ih;
ih->ih_head[1] = ih;
for (i = INOHSZ; --i >= 0; ih++) {
ih->ih_head[0] = ih;
ih->ih_head[1] = ih;
@@
-270,7
+272,7
@@
ufs_inactive(vp)
ufs_reclaim(vp)
register struct vnode *vp;
{
ufs_reclaim(vp)
register struct vnode *vp;
{
- register struct inode *i
q, *i
p = VTOI(vp);
+ register struct inode *ip = VTOI(vp);
if (vp->v_count != 0)
printf("ufs_reclaim: pushing active ino %d dev 0x%x\n",
if (vp->v_count != 0)
printf("ufs_reclaim: pushing active ino %d dev 0x%x\n",