diff options
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_extern.h | 3 | ||||
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_vnops.c | 11 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_extern.h b/sys/ufs/ext2fs/ext2fs_extern.h index fd20eac8e05..b7a097c5846 100644 --- a/sys/ufs/ext2fs/ext2fs_extern.h +++ b/sys/ufs/ext2fs/ext2fs_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_extern.h,v 1.18 2003/07/06 09:07:18 tedu Exp $ */ +/* $OpenBSD: ext2fs_extern.h,v 1.19 2004/03/02 05:52:24 tedu Exp $ */ /* $NetBSD: ext2fs_extern.h,v 1.1 1997/06/11 09:33:55 bouyer Exp $ */ /*- @@ -140,6 +140,7 @@ int ext2fs_makeinode(int, struct vnode *, struct vnode **, struct componentname *cnp); int ext2fs_fsync(void *); int ext2fs_reclaim(void *); +int ext2fsfifo_reclaim(void *); __END_DECLS diff --git a/sys/ufs/ext2fs/ext2fs_vnops.c b/sys/ufs/ext2fs/ext2fs_vnops.c index 9c88ed3d3b5..3643daa378d 100644 --- a/sys/ufs/ext2fs/ext2fs_vnops.c +++ b/sys/ufs/ext2fs/ext2fs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_vnops.c,v 1.32 2004/01/20 03:44:06 tedu Exp $ */ +/* $OpenBSD: ext2fs_vnops.c,v 1.33 2004/03/02 05:52:24 tedu Exp $ */ /* $NetBSD: ext2fs_vnops.c,v 1.1 1997/06/11 09:34:09 bouyer Exp $ */ /* @@ -1434,7 +1434,7 @@ struct vnodeopv_entry_desc ext2fs_fifoop_entries[] = { { &vop_write_desc, ufsfifo_write }, /* write */ { &vop_fsync_desc, ext2fs_fsync }, /* fsync */ { &vop_inactive_desc, ext2fs_inactive },/* inactive */ - { &vop_reclaim_desc, ext2fs_reclaim }, /* reclaim */ + { &vop_reclaim_desc, ext2fsfifo_reclaim }, /* reclaim */ { &vop_lock_desc, ufs_lock }, /* lock */ { &vop_unlock_desc, ufs_unlock }, /* unlock */ { &vop_print_desc, ufs_print }, /* print */ @@ -1444,4 +1444,11 @@ struct vnodeopv_entry_desc ext2fs_fifoop_entries[] = { }; struct vnodeopv_desc ext2fs_fifoop_opv_desc = { &ext2fs_fifoop_p, ext2fs_fifoop_entries }; + +int +ext2fsfifo_reclaim(void *v) +{ + fifo_reclaim(v); + return (ext2fs_reclaim(v)); +} #endif /* FIFO */ |