add getpages/putpages entries for spec vnodes.

This commit is contained in:
chs 2001-08-17 05:54:36 +00:00
parent 2c441082d4
commit f0af9f581b
5 changed files with 23 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd9660_vnops.c,v 1.64 2001/05/28 02:50:52 chs Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.65 2001/08/17 05:54:36 chs Exp $ */
/*-
* Copyright (c) 1994
@ -1018,6 +1018,9 @@ const struct vnodeopv_entry_desc cd9660_specop_entries[] = {
{ &vop_truncate_desc, spec_truncate }, /* truncate */
{ &vop_update_desc, cd9660_update }, /* update */
{ &vop_bwrite_desc, vn_bwrite }, /* bwrite */
{ &vop_getpages_desc, spec_getpages }, /* getpages */
{ &vop_putpages_desc, spec_putpages }, /* putpages */
{ &vop_size_desc, spec_size }, /* size */
{ NULL, NULL }
};
const struct vnodeopv_desc cd9660_specop_opv_desc =

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfs_vnops.c,v 1.136 2001/08/14 05:31:55 itojun Exp $ */
/* $NetBSD: nfs_vnops.c,v 1.137 2001/08/17 05:54:36 chs Exp $ */
/*
* Copyright (c) 1989, 1993
@ -195,6 +195,9 @@ const struct vnodeopv_entry_desc spec_nfsv2nodeop_entries[] = {
{ &vop_truncate_desc, spec_truncate }, /* truncate */
{ &vop_update_desc, nfs_update }, /* update */
{ &vop_bwrite_desc, vn_bwrite }, /* bwrite */
{ &vop_getpages_desc, spec_getpages }, /* getpages */
{ &vop_putpages_desc, spec_putpages }, /* putpages */
{ &vop_size_desc, spec_size }, /* size */
{ NULL, NULL }
};
const struct vnodeopv_desc spec_nfsv2nodeop_opv_desc =

View File

@ -1,4 +1,4 @@
/* $NetBSD: ext2fs_vnops.c,v 1.34 2001/07/24 15:39:34 assar Exp $ */
/* $NetBSD: ext2fs_vnops.c,v 1.35 2001/08/17 05:54:37 chs Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer.
@ -1527,6 +1527,9 @@ const struct vnodeopv_entry_desc ext2fs_specop_entries[] = {
{ &vop_truncate_desc, spec_truncate }, /* truncate */
{ &vop_update_desc, ext2fs_update }, /* update */
{ &vop_bwrite_desc, vn_bwrite }, /* bwrite */
{ &vop_getpages_desc, spec_getpages }, /* getpages */
{ &vop_putpages_desc, spec_putpages }, /* putpages */
{ &vop_size_desc, spec_size }, /* size */
{ NULL, NULL }
};
const struct vnodeopv_desc ext2fs_specop_opv_desc =

View File

@ -1,4 +1,4 @@
/* $NetBSD: ffs_vnops.c,v 1.37 2001/01/22 12:17:43 jdolecek Exp $ */
/* $NetBSD: ffs_vnops.c,v 1.38 2001/08/17 05:54:37 chs Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -169,6 +169,9 @@ const struct vnodeopv_entry_desc ffs_specop_entries[] = {
{ &vop_truncate_desc, spec_truncate }, /* truncate */
{ &vop_update_desc, ffs_update }, /* update */
{ &vop_bwrite_desc, vn_bwrite }, /* bwrite */
{ &vop_getpages_desc, spec_getpages }, /* getpages */
{ &vop_putpages_desc, spec_putpages }, /* putpages */
{ &vop_size_desc, spec_size }, /* size */
{ NULL, NULL }
};
const struct vnodeopv_desc ffs_specop_opv_desc =

View File

@ -1,4 +1,4 @@
/* $NetBSD: lfs_vnops.c,v 1.52 2001/07/24 15:39:34 assar Exp $ */
/* $NetBSD: lfs_vnops.c,v 1.53 2001/08/17 05:54:37 chs Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -148,7 +148,7 @@ const struct vnodeopv_entry_desc lfs_vnodeop_entries[] = {
{ &vop_truncate_desc, lfs_truncate }, /* truncate */
{ &vop_update_desc, lfs_update }, /* update */
{ &vop_bwrite_desc, lfs_bwrite }, /* bwrite */
{ (struct vnodeop_desc*)NULL, (int(*)(void *))NULL }
{ NULL, NULL }
};
const struct vnodeopv_desc lfs_vnodeop_opv_desc =
{ &lfs_vnodeop_p, lfs_vnodeop_entries };
@ -199,7 +199,10 @@ const struct vnodeopv_entry_desc lfs_specop_entries[] = {
{ &vop_truncate_desc, spec_truncate }, /* truncate */
{ &vop_update_desc, lfs_update }, /* update */
{ &vop_bwrite_desc, vn_bwrite }, /* bwrite */
{ (struct vnodeop_desc*)NULL, (int(*)(void *))NULL }
{ &vop_getpages_desc, spec_getpages }, /* getpages */
{ &vop_putpages_desc, spec_putpages }, /* putpages */
{ &vop_size_desc, spec_size }, /* size */
{ NULL, NULL }
};
const struct vnodeopv_desc lfs_specop_opv_desc =
{ &lfs_specop_p, lfs_specop_entries };
@ -250,7 +253,7 @@ const struct vnodeopv_entry_desc lfs_fifoop_entries[] = {
{ &vop_truncate_desc, fifo_truncate }, /* truncate */
{ &vop_update_desc, lfs_update }, /* update */
{ &vop_bwrite_desc, lfs_bwrite }, /* bwrite */
{ (struct vnodeop_desc*)NULL, (int(*)(void *))NULL }
{ NULL, NULL }
};
const struct vnodeopv_desc lfs_fifoop_opv_desc =
{ &lfs_fifoop_p, lfs_fifoop_entries };