Replaced nosys() by lkm_nullcmd().

This commit is contained in:
Bruce Evans 1995-11-13 08:52:08 +00:00
parent cc286f2399
commit e7b632b588
2 changed files with 3 additions and 3 deletions

View File

@ -1027,7 +1027,7 @@ int atapi_unload (struct lkm_table *lkmtp, int cmd)
*/ */
int atapi_mod (struct lkm_table *lkmtp, int cmd, int ver) int atapi_mod (struct lkm_table *lkmtp, int cmd, int ver)
{ {
DISPATCH (lkmtp, cmd, ver, atapi_load, atapi_unload, nosys); DISPATCH (lkmtp, cmd, ver, atapi_load, atapi_unload, lkm_nullcmd);
} }
#endif /* ATAPI_MODULE */ #endif /* ATAPI_MODULE */

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)mount.h 8.13 (Berkeley) 3/27/94 * @(#)mount.h 8.13 (Berkeley) 3/27/94
* $Id: mount.h,v 1.27 1995/09/09 18:10:30 davidg Exp $ * $Id: mount.h,v 1.28 1995/11/05 23:36:07 dyson Exp $
*/ */
#ifndef _SYS_MOUNT_H_ #ifndef _SYS_MOUNT_H_
@ -290,7 +290,7 @@ struct vfsops {
MOD_VFS(#fsname,index,&MODVNOPS,&_fs_vfsconf); \ MOD_VFS(#fsname,index,&MODVNOPS,&_fs_vfsconf); \
int \ int \
fsname ## _mod(struct lkm_table *lkmtp, int cmd, int ver) { \ fsname ## _mod(struct lkm_table *lkmtp, int cmd, int ver) { \
DISPATCH(lkmtp, cmd, ver, nosys, nosys, nosys); } DISPATCH(lkmtp, cmd, ver, lkm_nullcmd, lkm_nullcmd, lkm_nullcmd); }
#else #else
#define VFS_SET(vfsops, fsname, index, flags) \ #define VFS_SET(vfsops, fsname, index, flags) \