Some trivial cleanup.

This commit is contained in:
mycroft 1995-01-04 06:32:19 +00:00
parent b67fe41d0a
commit 26c2193e75
3 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: denode.h,v 1.12 1995/01/04 06:03:11 mycroft Exp $ */
/* $NetBSD: denode.h,v 1.13 1995/01/04 06:32:19 mycroft Exp $ */
/*-
* Copyright (C) 1994 Wolfgang Solfrank.
@ -163,10 +163,10 @@ struct denode {
/*
* Values for the de_flag field of the denode.
*/
#define DE_LOCKED 0x0001 /* directory entry is locked */
#define DE_WANTED 0x0002 /* someone wants this de */
#define DE_UPDATE 0x0004 /* file has been modified */
#define DE_MODIFIED 0x0080 /* denode wants to be written back to disk */
#define DE_LOCKED 0x0001 /* Denode lock. */
#define DE_WANTED 0x0002 /* Denode is wanted by a process. */
#define DE_UPDATE 0x0004 /* Modification time update request. */
#define DE_MODIFIED 0x0008 /* Denode has been modified. */
/*
* Transfer directory entries between internal and external form.
@ -206,7 +206,7 @@ struct denode {
}
/*
* This overlays the fid sturcture (see mount.h)
* This overlays the fid structure (see mount.h)
*/
struct defid {
u_short defid_len; /* length of structure */

View File

@ -1,4 +1,4 @@
/* $NetBSD: msdosfs_fat.c,v 1.14 1994/10/29 07:59:35 cgd Exp $ */
/* $NetBSD: msdosfs_fat.c,v 1.15 1995/01/04 06:32:21 mycroft Exp $ */
/*-
* Copyright (C) 1994 Wolfgang Solfrank.
@ -361,7 +361,7 @@ updatefats(pmp, bp, fatbn)
* Where n is even. m = n + (n >> 2)
*
*/
__inline void
static __inline void
usemap_alloc(pmp, cn)
struct msdosfsmount *pmp;
u_long cn;
@ -371,7 +371,7 @@ usemap_alloc(pmp, cn)
pmp->pm_freeclustercount--;
}
__inline void
static __inline void
usemap_free(pmp, cn)
struct msdosfsmount *pmp;
u_long cn;

View File

@ -1,4 +1,4 @@
/* $NetBSD: msdosfs_vnops.c,v 1.30 1995/01/04 06:03:15 mycroft Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.31 1995/01/04 06:32:23 mycroft Exp $ */
/*-
* Copyright (C) 1994 Wolfgang Solfrank.
@ -337,7 +337,7 @@ msdosfs_setattr(ap)
return (error);
}
/*
* DOS files only have the ability to have thier writability
* DOS files only have the ability to have their writability
* attribute set, so we use the owner write bit to set the readonly
* attribute.
*/
@ -1672,7 +1672,6 @@ msdosfs_strategy(ap)
{
struct buf *bp = ap->a_bp;
struct denode *dep = VTODE(bp->b_vp);
struct msdosfsmount *pmp = dep->de_pmp;
struct vnode *vp;
int error = 0;