Clean LINT
This commit is contained in:
parent
7c76d5ca4e
commit
03507b2123
@ -27,7 +27,7 @@
|
|||||||
* Mellon the rights to redistribute these changes without encumbrance.
|
* Mellon the rights to redistribute these changes without encumbrance.
|
||||||
*
|
*
|
||||||
* @(#) src/sys/cfs/cfs_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
* @(#) src/sys/cfs/cfs_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||||
* $Id: $
|
* $Id: cfs_namecache.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -47,6 +47,9 @@
|
|||||||
/*
|
/*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* $Log: cfs_namecache.c,v $
|
* $Log: cfs_namecache.c,v $
|
||||||
|
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||||
|
* Pass2 complete
|
||||||
|
*
|
||||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||||
* Very Preliminary Coda
|
* Very Preliminary Coda
|
||||||
*
|
*
|
||||||
@ -224,6 +227,10 @@
|
|||||||
#include <cfs/coda.h>
|
#include <cfs/coda.h>
|
||||||
#include <cfs/cnode.h>
|
#include <cfs/cnode.h>
|
||||||
#include <cfs/cfsnc.h>
|
#include <cfs/cfsnc.h>
|
||||||
|
#ifdef DEBUG
|
||||||
|
/* for printcred */
|
||||||
|
#include <cfs/cfs_vnodeops.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Declaration of the name cache data structure.
|
* Declaration of the name cache data structure.
|
||||||
@ -861,8 +868,6 @@ cfsnc_resize(hashsize, heapsize, dcstat)
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
char cfsnc_name_buf[CFS_MAXNAMLEN+1];
|
char cfsnc_name_buf[CFS_MAXNAMLEN+1];
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -889,4 +894,3 @@ cfsnc_name(struct cnode *cp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Mellon the rights to redistribute these changes without encumbrance.
|
* Mellon the rights to redistribute these changes without encumbrance.
|
||||||
*
|
*
|
||||||
* @(#) src/sys/cfs/cfs_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
* @(#) src/sys/cfs/cfs_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||||
* $Id: $
|
* $Id: cfs_subr.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -46,6 +46,9 @@
|
|||||||
/*
|
/*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* $Log: cfs_subr.c,v $
|
* $Log: cfs_subr.c,v $
|
||||||
|
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||||
|
* Pass2 complete
|
||||||
|
*
|
||||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||||
* Very Preliminary Coda
|
* Very Preliminary Coda
|
||||||
*
|
*
|
||||||
@ -453,6 +456,7 @@ cfs_unmounting(whoIam)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
void
|
||||||
cfs_checkunmounting(mp)
|
cfs_checkunmounting(mp)
|
||||||
struct mount *mp;
|
struct mount *mp;
|
||||||
{
|
{
|
||||||
@ -474,7 +478,7 @@ loop:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
void
|
||||||
cfs_cacheprint(whoIam)
|
cfs_cacheprint(whoIam)
|
||||||
struct mount *whoIam;
|
struct mount *whoIam;
|
||||||
{
|
{
|
||||||
@ -483,7 +487,7 @@ cfs_cacheprint(whoIam)
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
printf("cfs_cacheprint: cfs_ctlvp %p, cp %p", cfs_ctlvp, VTOC(cfs_ctlvp));
|
printf("cfs_cacheprint: cfs_ctlvp %p, cp %p", cfs_ctlvp, VTOC(cfs_ctlvp));
|
||||||
cfsnc_name(cfs_ctlvp);
|
cfsnc_name(VTOC(cfs_ctlvp));
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
for (hash = 0; hash < CFS_CACHESIZE; hash++) {
|
for (hash = 0; hash < CFS_CACHESIZE; hash++) {
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Mellon the rights to redistribute these changes without encumbrance.
|
* Mellon the rights to redistribute these changes without encumbrance.
|
||||||
*
|
*
|
||||||
* @(#) src/sys/cfs/cfs_subr.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
* @(#) src/sys/cfs/cfs_subr.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||||
* $Id: $
|
* $Id: cfs_subr.h,v 1.2 1998/09/02 19:09:53 rvb Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -36,8 +36,8 @@ void cfs_free(struct cnode *cp);
|
|||||||
struct cnode *cfs_find(ViceFid *fid);
|
struct cnode *cfs_find(ViceFid *fid);
|
||||||
void cfs_flush(enum dc_status dcstat);
|
void cfs_flush(enum dc_status dcstat);
|
||||||
void cfs_testflush(void);
|
void cfs_testflush(void);
|
||||||
int cfs_checkunmounting(struct mount *mp);
|
void cfs_checkunmounting(struct mount *mp);
|
||||||
int cfs_cacheprint(struct mount *whoIam);
|
void cfs_cacheprint(struct mount *whoIam);
|
||||||
void cfs_debugon(void);
|
void cfs_debugon(void);
|
||||||
void cfs_debugoff(void);
|
void cfs_debugoff(void);
|
||||||
int cfs_kill(struct mount *whoIam, enum dc_status dcstat);
|
int cfs_kill(struct mount *whoIam, enum dc_status dcstat);
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Mellon the rights to redistribute these changes without encumbrance.
|
* Mellon the rights to redistribute these changes without encumbrance.
|
||||||
*
|
*
|
||||||
* @(#) src/sys/cfs/cfs_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
* @(#) src/sys/cfs/cfs_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||||
* $Id: $
|
* $Id: cfs_namecache.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -47,6 +47,9 @@
|
|||||||
/*
|
/*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* $Log: cfs_namecache.c,v $
|
* $Log: cfs_namecache.c,v $
|
||||||
|
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||||
|
* Pass2 complete
|
||||||
|
*
|
||||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||||
* Very Preliminary Coda
|
* Very Preliminary Coda
|
||||||
*
|
*
|
||||||
@ -224,6 +227,10 @@
|
|||||||
#include <cfs/coda.h>
|
#include <cfs/coda.h>
|
||||||
#include <cfs/cnode.h>
|
#include <cfs/cnode.h>
|
||||||
#include <cfs/cfsnc.h>
|
#include <cfs/cfsnc.h>
|
||||||
|
#ifdef DEBUG
|
||||||
|
/* for printcred */
|
||||||
|
#include <cfs/cfs_vnodeops.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Declaration of the name cache data structure.
|
* Declaration of the name cache data structure.
|
||||||
@ -861,8 +868,6 @@ cfsnc_resize(hashsize, heapsize, dcstat)
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
char cfsnc_name_buf[CFS_MAXNAMLEN+1];
|
char cfsnc_name_buf[CFS_MAXNAMLEN+1];
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -889,4 +894,3 @@ cfsnc_name(struct cnode *cp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Mellon the rights to redistribute these changes without encumbrance.
|
* Mellon the rights to redistribute these changes without encumbrance.
|
||||||
*
|
*
|
||||||
* @(#) src/sys/cfs/cfs_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
* @(#) src/sys/cfs/cfs_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||||
* $Id: $
|
* $Id: cfs_subr.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -46,6 +46,9 @@
|
|||||||
/*
|
/*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* $Log: cfs_subr.c,v $
|
* $Log: cfs_subr.c,v $
|
||||||
|
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||||
|
* Pass2 complete
|
||||||
|
*
|
||||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||||
* Very Preliminary Coda
|
* Very Preliminary Coda
|
||||||
*
|
*
|
||||||
@ -453,6 +456,7 @@ cfs_unmounting(whoIam)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
void
|
||||||
cfs_checkunmounting(mp)
|
cfs_checkunmounting(mp)
|
||||||
struct mount *mp;
|
struct mount *mp;
|
||||||
{
|
{
|
||||||
@ -474,7 +478,7 @@ loop:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
void
|
||||||
cfs_cacheprint(whoIam)
|
cfs_cacheprint(whoIam)
|
||||||
struct mount *whoIam;
|
struct mount *whoIam;
|
||||||
{
|
{
|
||||||
@ -483,7 +487,7 @@ cfs_cacheprint(whoIam)
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
printf("cfs_cacheprint: cfs_ctlvp %p, cp %p", cfs_ctlvp, VTOC(cfs_ctlvp));
|
printf("cfs_cacheprint: cfs_ctlvp %p, cp %p", cfs_ctlvp, VTOC(cfs_ctlvp));
|
||||||
cfsnc_name(cfs_ctlvp);
|
cfsnc_name(VTOC(cfs_ctlvp));
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
for (hash = 0; hash < CFS_CACHESIZE; hash++) {
|
for (hash = 0; hash < CFS_CACHESIZE; hash++) {
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Mellon the rights to redistribute these changes without encumbrance.
|
* Mellon the rights to redistribute these changes without encumbrance.
|
||||||
*
|
*
|
||||||
* @(#) src/sys/cfs/cfs_subr.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
* @(#) src/sys/cfs/cfs_subr.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||||
* $Id: $
|
* $Id: cfs_subr.h,v 1.2 1998/09/02 19:09:53 rvb Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -36,8 +36,8 @@ void cfs_free(struct cnode *cp);
|
|||||||
struct cnode *cfs_find(ViceFid *fid);
|
struct cnode *cfs_find(ViceFid *fid);
|
||||||
void cfs_flush(enum dc_status dcstat);
|
void cfs_flush(enum dc_status dcstat);
|
||||||
void cfs_testflush(void);
|
void cfs_testflush(void);
|
||||||
int cfs_checkunmounting(struct mount *mp);
|
void cfs_checkunmounting(struct mount *mp);
|
||||||
int cfs_cacheprint(struct mount *whoIam);
|
void cfs_cacheprint(struct mount *whoIam);
|
||||||
void cfs_debugon(void);
|
void cfs_debugon(void);
|
||||||
void cfs_debugoff(void);
|
void cfs_debugoff(void);
|
||||||
int cfs_kill(struct mount *whoIam, enum dc_status dcstat);
|
int cfs_kill(struct mount *whoIam, enum dc_status dcstat);
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Mellon the rights to redistribute these changes without encumbrance.
|
* Mellon the rights to redistribute these changes without encumbrance.
|
||||||
*
|
*
|
||||||
* @(#) src/sys/cfs/cfs_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
* @(#) src/sys/cfs/cfs_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||||
* $Id: $
|
* $Id: cfs_namecache.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -47,6 +47,9 @@
|
|||||||
/*
|
/*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* $Log: cfs_namecache.c,v $
|
* $Log: cfs_namecache.c,v $
|
||||||
|
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||||
|
* Pass2 complete
|
||||||
|
*
|
||||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||||
* Very Preliminary Coda
|
* Very Preliminary Coda
|
||||||
*
|
*
|
||||||
@ -224,6 +227,10 @@
|
|||||||
#include <cfs/coda.h>
|
#include <cfs/coda.h>
|
||||||
#include <cfs/cnode.h>
|
#include <cfs/cnode.h>
|
||||||
#include <cfs/cfsnc.h>
|
#include <cfs/cfsnc.h>
|
||||||
|
#ifdef DEBUG
|
||||||
|
/* for printcred */
|
||||||
|
#include <cfs/cfs_vnodeops.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Declaration of the name cache data structure.
|
* Declaration of the name cache data structure.
|
||||||
@ -861,8 +868,6 @@ cfsnc_resize(hashsize, heapsize, dcstat)
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
char cfsnc_name_buf[CFS_MAXNAMLEN+1];
|
char cfsnc_name_buf[CFS_MAXNAMLEN+1];
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -889,4 +894,3 @@ cfsnc_name(struct cnode *cp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Mellon the rights to redistribute these changes without encumbrance.
|
* Mellon the rights to redistribute these changes without encumbrance.
|
||||||
*
|
*
|
||||||
* @(#) src/sys/cfs/cfs_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
* @(#) src/sys/cfs/cfs_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||||
* $Id: $
|
* $Id: cfs_subr.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -46,6 +46,9 @@
|
|||||||
/*
|
/*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* $Log: cfs_subr.c,v $
|
* $Log: cfs_subr.c,v $
|
||||||
|
* Revision 1.2 1998/09/02 19:09:53 rvb
|
||||||
|
* Pass2 complete
|
||||||
|
*
|
||||||
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
|
||||||
* Very Preliminary Coda
|
* Very Preliminary Coda
|
||||||
*
|
*
|
||||||
@ -453,6 +456,7 @@ cfs_unmounting(whoIam)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
void
|
||||||
cfs_checkunmounting(mp)
|
cfs_checkunmounting(mp)
|
||||||
struct mount *mp;
|
struct mount *mp;
|
||||||
{
|
{
|
||||||
@ -474,7 +478,7 @@ loop:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
void
|
||||||
cfs_cacheprint(whoIam)
|
cfs_cacheprint(whoIam)
|
||||||
struct mount *whoIam;
|
struct mount *whoIam;
|
||||||
{
|
{
|
||||||
@ -483,7 +487,7 @@ cfs_cacheprint(whoIam)
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
printf("cfs_cacheprint: cfs_ctlvp %p, cp %p", cfs_ctlvp, VTOC(cfs_ctlvp));
|
printf("cfs_cacheprint: cfs_ctlvp %p, cp %p", cfs_ctlvp, VTOC(cfs_ctlvp));
|
||||||
cfsnc_name(cfs_ctlvp);
|
cfsnc_name(VTOC(cfs_ctlvp));
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
for (hash = 0; hash < CFS_CACHESIZE; hash++) {
|
for (hash = 0; hash < CFS_CACHESIZE; hash++) {
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Mellon the rights to redistribute these changes without encumbrance.
|
* Mellon the rights to redistribute these changes without encumbrance.
|
||||||
*
|
*
|
||||||
* @(#) src/sys/cfs/cfs_subr.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
* @(#) src/sys/cfs/cfs_subr.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||||
* $Id: $
|
* $Id: cfs_subr.h,v 1.2 1998/09/02 19:09:53 rvb Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -36,8 +36,8 @@ void cfs_free(struct cnode *cp);
|
|||||||
struct cnode *cfs_find(ViceFid *fid);
|
struct cnode *cfs_find(ViceFid *fid);
|
||||||
void cfs_flush(enum dc_status dcstat);
|
void cfs_flush(enum dc_status dcstat);
|
||||||
void cfs_testflush(void);
|
void cfs_testflush(void);
|
||||||
int cfs_checkunmounting(struct mount *mp);
|
void cfs_checkunmounting(struct mount *mp);
|
||||||
int cfs_cacheprint(struct mount *whoIam);
|
void cfs_cacheprint(struct mount *whoIam);
|
||||||
void cfs_debugon(void);
|
void cfs_debugon(void);
|
||||||
void cfs_debugoff(void);
|
void cfs_debugoff(void);
|
||||||
int cfs_kill(struct mount *whoIam, enum dc_status dcstat);
|
int cfs_kill(struct mount *whoIam, enum dc_status dcstat);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user