diff options
author | dyson <dyson@FreeBSD.org> | 1995-09-06 05:41:17 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1995-09-06 05:41:17 +0000 |
commit | 55b8bdf1c810a0dd7434d588254e4ad495ab235a (patch) | |
tree | 5e82a2c25d6e566598a387e86dd2793a1038802d /sys/ufs | |
parent | 1ef3d3c6485118b8baf18f89f25e2888a87466af (diff) | |
download | FreeBSD-src-55b8bdf1c810a0dd7434d588254e4ad495ab235a.zip FreeBSD-src-55b8bdf1c810a0dd7434d588254e4ad495ab235a.tar.gz |
Added indirect pointer for ffs_getpages, and added external declaration.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_extern.h | 3 | ||||
-rw-r--r-- | sys/ufs/ffs/ffs_vnops.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_extern.h b/sys/ufs/ffs/ffs_extern.h index 43e7bbe..b190fa6 100644 --- a/sys/ufs/ffs/ffs_extern.h +++ b/sys/ufs/ffs/ffs_extern.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_extern.h 8.3 (Berkeley) 4/16/94 - * $Id: ffs_extern.h,v 1.5 1994/09/22 19:38:32 wollman Exp $ + * $Id: ffs_extern.h,v 1.6 1995/03/28 07:57:46 bde Exp $ */ struct buf; @@ -85,6 +85,7 @@ int ffs_vfree __P((struct vop_vfree_args *)); int ffs_vget __P((struct mount *, ino_t, struct vnode **)); int ffs_vptofh __P((struct vnode *, struct fid *)); int ffs_write __P((struct vop_write_args *)); +int ffs_getpages __P((struct vop_getpages_args *)); #ifdef DIAGNOSTIC void ffs_checkoverlap __P((struct buf *, struct inode *)); diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c index c5209fc..05b0903 100644 --- a/sys/ufs/ffs/ffs_vnops.c +++ b/sys/ufs/ffs/ffs_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_vnops.c 8.7 (Berkeley) 2/3/94 - * $Id: ffs_vnops.c,v 1.10 1995/05/21 21:39:26 davidg Exp $ + * $Id: ffs_vnops.c,v 1.11 1995/05/30 08:15:05 rgrimes Exp $ */ #include <sys/param.h> @@ -108,6 +108,7 @@ struct vnodeopv_entry_desc ffs_vnodeop_entries[] = { { &vop_vfree_desc, ffs_vfree }, /* vfree */ { &vop_truncate_desc, ffs_truncate }, /* truncate */ { &vop_update_desc, ffs_update }, /* update */ + { &vop_getpages_desc, ffs_getpages}, { &vop_bwrite_desc, vn_bwrite }, { (struct vnodeop_desc*)NULL, (int(*)())NULL } }; |