Add genfs_einval(), which does the obvious thing.
This commit is contained in:
parent
106340f1ef
commit
bf1863d17b
|
@ -1,8 +1,9 @@
|
|||
/* $NetBSD: genfs.h,v 1.7 1998/08/10 08:11:11 matthias Exp $ */
|
||||
/* $NetBSD: genfs.h,v 1.8 1998/08/13 09:59:52 kleink Exp $ */
|
||||
|
||||
int genfs_badop __P((void *));
|
||||
int genfs_nullop __P((void *));
|
||||
int genfs_enoioctl __P((void *));
|
||||
int genfs_einval __P((void *));
|
||||
int genfs_eopnotsupp __P((void *));
|
||||
int genfs_ebadf __P((void *));
|
||||
int genfs_nolock __P((void *));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: genfs_vnops.c,v 1.9 1998/08/10 08:11:11 matthias Exp $ */
|
||||
/* $NetBSD: genfs_vnops.c,v 1.10 1998/08/13 09:59:53 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1993
|
||||
|
@ -142,6 +142,15 @@ genfs_nullop(v)
|
|||
return (0);
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
genfs_einval(v)
|
||||
void *v;
|
||||
{
|
||||
|
||||
return (EINVAL);
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
genfs_eopnotsupp(v)
|
||||
|
|
Loading…
Reference in New Issue