X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/4c45483ea9fb51e495c5cc57c7032ab8d97dd211..fa843d136ad132d9e167aff2415bbbfdcc3f2dc6:/sys/isofs/isofs_vfsops.c diff --git a/sys/isofs/isofs_vfsops.c b/sys/isofs/isofs_vfsops.c index 92daa29b2e..cab949b4c7 100644 --- a/sys/isofs/isofs_vfsops.c +++ b/sys/isofs/isofs_vfsops.c @@ -1,5 +1,5 @@ /* - * $Id: isofs_vfsops.c,v 1.3 1993/10/24 04:29:08 rgrimes Exp $ + * $Id: isofs_vfsops.c,v 1.5 1993/12/19 00:51:07 wollman Exp $ */ #include "param.h" @@ -43,6 +43,8 @@ struct vfsops isofs_vfsops = { */ #define ROOTNAME "root_device" +static int iso_mountfs(struct vnode *, struct mount *, struct proc *); + int isofs_mountroot() { @@ -196,7 +198,7 @@ isofs_mount(mp, path, data, ndp, p) /* * Common code for mount and mountroot */ -int +static int iso_mountfs(devvp, mp, p) register struct vnode *devvp; struct mount *mp; @@ -519,7 +521,7 @@ isofs_fhtovp(mp, fhp, vpp) return (EINVAL); if (ifhp->ifid_offset + sizeof (struct iso_directory_record) - >= imp->im_bsize) + > imp->im_bsize) return (EINVAL); if (error = bread (imp->im_devvp, @@ -532,7 +534,7 @@ isofs_fhtovp(mp, fhp, vpp) dirp = (struct iso_directory_record *) (bp->b_un.b_addr + ifhp->ifid_offset); - if (ifhp->ifid_offset + isonum_711 (dirp->length) >= imp->im_bsize) { + if (ifhp->ifid_offset + isonum_711 (dirp->length) > imp->im_bsize) { brelse (bp); return (EINVAL); }