diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 03:32:23 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 03:32:23 +0000 |
commit | 1960227783464df921bc55a8d185c653dd7e94a0 (patch) | |
tree | 0a75f898d9a629dc8b4171ca0916c1b5671c9f04 /sys/miscfs | |
parent | 70e187d301803acaa3c4edcfb2ad9c515a1f2b1d (diff) |
compat with uvm vnode pager
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/union/union_subr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/miscfs/union/union_subr.c b/sys/miscfs/union/union_subr.c index 70dc63b427b..d0e5444ec2c 100644 --- a/sys/miscfs/union/union_subr.c +++ b/sys/miscfs/union/union_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: union_subr.c,v 1.7 1997/11/06 05:58:51 csapuntz Exp $ */ +/* $OpenBSD: union_subr.c,v 1.8 1999/02/26 03:32:22 art Exp $ */ /* $NetBSD: union_subr.c,v 1.18 1996/02/09 22:41:10 christos Exp $ */ /* @@ -302,7 +302,11 @@ union_newsize(vp, uppersz, lowersz) printf("union: %s size now %ld\n", uppersz != VNOVAL ? "upper" : "lower", (long) sz); #endif +#if defined(UVM) + uvm_vnp_setsize(vp, sz); +#else vnode_pager_setsize(vp, sz); +#endif } } |