Added indirect pointer for ffs_getpages, and added external declaration.

This commit is contained in:
John Dyson 1995-09-06 05:41:17 +00:00
parent d3b10c455e
commit 3441c37e0b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10578
2 changed files with 4 additions and 2 deletions

View File

@ -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 *));

View File

@ -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 }
};