diff options
| author | Alan Cox <alc@FreeBSD.org> | 2003-05-16 07:28:27 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2003-05-16 07:28:27 +0000 |
| commit | f820bc501ea6e1bd711fd47b947a5ccb4aff90f5 (patch) | |
| tree | a069985c564808ceba64a50e6463da0f32606d02 /sys/dev/md/md.c | |
| parent | 906f065725029bd24e9ac9591d6e3ea7a760f3de (diff) | |
Notes
Diffstat (limited to 'sys/dev/md/md.c')
| -rw-r--r-- | sys/dev/md/md.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index a3f4f92811c4..7071a3ea4673 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -932,7 +932,7 @@ mddestroy(struct md_s *sc, struct thread *td) if (sc->cred != NULL) crfree(sc->cred); if (sc->object != NULL) { - vm_pager_deallocate(sc->object); + vm_object_deallocate(sc->object); } if (sc->indir) destroy_indir(sc, sc->indir); @@ -990,7 +990,7 @@ mdcreate_swap(struct md_ioctl *mdio, struct thread *td) sc->flags = mdio->md_options & MD_FORCE; if (mdio->md_options & MD_RESERVE) { if (swap_pager_reserve(sc->object, 0, sc->nsect) < 0) { - vm_pager_deallocate(sc->object); + vm_object_deallocate(sc->object); sc->object = NULL; mddestroy(sc, td); return (EDOM); |
