(sys_open, sys_fhopen): remove declaration of vnops, now in
<sys/file.h>
This commit is contained in:
parent
e4b59906e1
commit
a49e53d3df
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: vfs_syscalls.c,v 1.148 1999/11/15 18:49:09 fvdl Exp $ */
|
/* $NetBSD: vfs_syscalls.c,v 1.149 2000/02/01 01:24:38 assar Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1989, 1993
|
* Copyright (c) 1989, 1993
|
||||||
|
@ -985,7 +985,6 @@ sys_open(p, v, retval)
|
||||||
int type, indx, error;
|
int type, indx, error;
|
||||||
struct flock lf;
|
struct flock lf;
|
||||||
struct nameidata nd;
|
struct nameidata nd;
|
||||||
extern struct fileops vnops;
|
|
||||||
|
|
||||||
flags = FFLAGS(SCARG(uap, flags));
|
flags = FFLAGS(SCARG(uap, flags));
|
||||||
if ((flags & (FREAD | FWRITE)) == 0)
|
if ((flags & (FREAD | FWRITE)) == 0)
|
||||||
|
@ -1113,7 +1112,6 @@ sys_fhopen(p, v, retval)
|
||||||
struct flock lf;
|
struct flock lf;
|
||||||
struct vattr va;
|
struct vattr va;
|
||||||
fhandle_t fh;
|
fhandle_t fh;
|
||||||
extern struct fileops vnops;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Must be super user
|
* Must be super user
|
||||||
|
|
Loading…
Reference in New Issue