summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-20 03:49:02 +0000
committerdg <dg@FreeBSD.org>1994-08-20 03:49:02 +0000
commitc97639b9230d9c3f9032d935d7892c5b513c8814 (patch)
treef43f29ef28a2342dd7be499cf286557b75ae9f56 /sys/fs
parent255b8baf81cdff10b66cd0893b98779e34305ff1 (diff)
downloadFreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.zip
FreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.tar.gz
1) cleaned up after Garrett - fixed more redundant declarations, changed
use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers. 2) fix a bug in the portalfs that was uncovered by better prototyping - specifically, the time must be converted from timeval to timespec before storing in va_atime. 3) fixed/added some miscellaneous prototypes
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c6
-rw-r--r--sys/fs/nullfs/null_vnops.c3
-rw-r--r--sys/fs/portalfs/portal_vnops.c5
-rw-r--r--sys/fs/umapfs/umap_vnops.c3
4 files changed, 6 insertions, 11 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index a4aeaaf..90e2679 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_vfsops.c 8.3 (Berkeley) 1/31/94
- * $Id$
+ * $Id: cd9660_vfsops.c,v 1.3 1994/08/02 07:41:33 davidg Exp $
*/
#include <sys/param.h>
@@ -58,8 +58,6 @@
#include <isofs/cd9660/iso.h>
#include <isofs/cd9660/cd9660_node.h>
-extern int enodev ();
-
struct vfsops cd9660_vfsops = {
cd9660_mount,
cd9660_start,
@@ -87,7 +85,6 @@ int
cd9660_mountroot()
{
register struct mount *mp;
- extern struct vnode *rootvp;
struct proc *p = curproc; /* XXX */
struct iso_mnt *imp;
register struct fs *fs;
@@ -229,7 +226,6 @@ iso_mountfs(devvp, mp, p, argp)
int error = EINVAL, i, size;
int needclose = 0;
int ronly = (mp->mnt_flag & MNT_RDONLY) != 0;
- extern struct vnode *rootvp;
int j;
int iso_bsize;
int iso_blknum;
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
index 0fed553..d6e0cd7 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)null_vnops.c 8.1 (Berkeley) 6/10/93
*
- * $Id$
+ * $Id: null_vnops.c,v 1.2 1994/08/02 07:45:06 davidg Exp $
*/
/*
@@ -207,7 +207,6 @@ null_bypass(ap)
<other random data follows, presumably>
} */ *ap;
{
- extern int (**null_vnodeop_p)(); /* not extern, really "forward" */
register struct vnode **this_vp_p;
int error;
struct vnode *old_vps[VDESC_MAX_VPS];
diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c
index c19e815..b3c3694 100644
--- a/sys/fs/portalfs/portal_vnops.c
+++ b/sys/fs/portalfs/portal_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)portal_vnops.c 8.8 (Berkeley) 1/21/94
*
- * $Id: portal_vnops.c,v 1.4 1992/05/30 10:05:24 jsp Exp jsp $
+ * $Id: portal_vnops.c,v 1.2 1994/05/25 09:08:21 rgrimes Exp $
*/
/*
@@ -431,7 +431,8 @@ portal_getattr(ap)
vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0];
vap->va_size = DEV_BSIZE;
vap->va_blocksize = DEV_BSIZE;
- microtime(&vap->va_atime);
+ microtime((struct timeval *)&vap->va_atime);
+ TIMEVAL_TO_TIMESPEC((struct timeval *)&vap->va_atime, (struct timespec *)&vap->va_atime);
vap->va_mtime = vap->va_atime;
vap->va_ctime = vap->va_ctime;
vap->va_gen = 0;
diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c
index cda8153..957ee63 100644
--- a/sys/fs/umapfs/umap_vnops.c
+++ b/sys/fs/umapfs/umap_vnops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)umap_vnops.c 8.3 (Berkeley) 1/5/94
- * $Id$
+ * $Id: umap_vnops.c,v 1.3 1994/08/02 07:45:37 davidg Exp $
*/
/*
@@ -66,7 +66,6 @@ umap_bypass(ap)
<other random data follows, presumably>
} */ *ap;
{
- extern int (**umap_vnodeop_p)(); /* not extern, really "forward" */
struct ucred **credpp = 0, *credp = 0;
struct ucred *savecredp = 0, *savecompcredp = 0;
struct ucred *compcredp = 0;
OpenPOWER on IntegriCloud