diff options
Diffstat (limited to 'sys/pcfs/pcfs_vfsops.c')
| -rw-r--r-- | sys/pcfs/pcfs_vfsops.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/pcfs/pcfs_vfsops.c b/sys/pcfs/pcfs_vfsops.c index 0cb1ad2e7a00..2fac8237dfe3 100644 --- a/sys/pcfs/pcfs_vfsops.c +++ b/sys/pcfs/pcfs_vfsops.c @@ -15,7 +15,7 @@ * * October 1992 * - * $Id: pcfs_vfsops.c,v 1.3 1993/10/16 19:29:37 rgrimes Exp $ + * $Id: pcfs_vfsops.c,v 1.5 1993/12/19 02:07:58 ache Exp $ */ #include "param.h" @@ -57,7 +57,7 @@ pcfs_mount(mp, path, data, ndp, p) { struct vnode *devvp; /* vnode for blk device to mount */ struct pcfs_args args; /* will hold data from mount request */ - struct pcfsmount *pmp; /* pcfs specific mount control block */ + struct pcfsmount *pmp = 0; /* pcfs specific mount control block */ int error; u_int size; @@ -296,9 +296,10 @@ mountpcfs(devvp, mp, p) pmp->pm_fatblocksize = MAXBSIZE; pmp->pm_fatblocksec = pmp->pm_fatblocksize / pmp->pm_BytesPerSec; +#if defined(PCFSDEBUG) if ((pmp->pm_rootdirsize % pmp->pm_SectPerClust) != 0) printf("mountpcfs(): root directory is not a multiple of the clustersize in length\n"); - +#endif /* * Compute mask and shift value for isolating cluster relative * byte offsets and cluster numbers from a file offset. @@ -488,10 +489,7 @@ pcfs_quotactl(mp, cmds, uid, arg, p) caddr_t arg; struct proc *p; { -#if defined(QUOTA) -#else return EOPNOTSUPP; -#endif /* defined(QUOTA) */ } int |
