Remove an unused argument in vfs_mountroot().

This commit is contained in:
Maxime Henrion 2002-07-03 08:52:37 +00:00
parent 00c3b17e1e
commit 563af2ec15
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99336
3 changed files with 3 additions and 3 deletions

View File

@ -503,7 +503,7 @@ start_init(void *dummy)
td = curthread;
p = td->td_proc;
vfs_mountroot(NULL);
vfs_mountroot();
/* Get the vnode for '/'. Set p->p_fd->fd_cdir to reference it. */
if (VFS_ROOT(TAILQ_FIRST(&mountlist), &rootvnode))

View File

@ -1219,7 +1219,7 @@ dounmount(mp, flags, td)
* Find and mount the root filesystem
*/
void
vfs_mountroot(void *foo __unused)
vfs_mountroot(void)
{
char *cp;
int i, error;

View File

@ -456,7 +456,7 @@ dev_t vfs_getrootfsid(struct mount *);
struct mount *vfs_getvfs(fsid_t *); /* return vfs given fsid */
int vfs_modevent(module_t, int, void *);
int vfs_mountedon(struct vnode *); /* is a vfs mounted on vp */
void vfs_mountroot(void *); /* mount our root filesystem */
void vfs_mountroot(void); /* mount our root filesystem */
int vfs_rootmountalloc(char *, char *, struct mount **);
void vfs_unbusy(struct mount *, struct thread *td);
void vfs_unmountall(void);