summaryrefslogtreecommitdiffstats
path: root/sys/isofs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-25 15:52:04 +0000
committerphk <phk@FreeBSD.org>2005-01-25 15:52:04 +0000
commitbb8d78bf443578181578e93ae89f4ba87be62f46 (patch)
tree006765566c899c6067ab86bc60e6a5ab9f93446c /sys/isofs
parent5aa1777f1d2fef4a08ca34c95cd1e5130a0fe4ee (diff)
downloadFreeBSD-src-bb8d78bf443578181578e93ae89f4ba87be62f46.zip
FreeBSD-src-bb8d78bf443578181578e93ae89f4ba87be62f46.tar.gz
Introduce and use g_vfs_close().
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 0c77a55..3d484c9 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -473,7 +473,7 @@ out:
if (cp != NULL) {
DROP_GIANT();
g_topology_lock();
- g_wither_geom_close(cp->geom, ENXIO);
+ g_vfs_close(cp, td);
g_topology_unlock();
PICKUP_GIANT();
}
@@ -516,7 +516,7 @@ cd9660_unmount(mp, mntflags, td)
}
DROP_GIANT();
g_topology_lock();
- g_wither_geom_close(isomp->im_cp->geom, ENXIO);
+ g_vfs_close(isomp->im_cp, td);
g_topology_unlock();
PICKUP_GIANT();
vrele(isomp->im_devvp);
OpenPOWER on IntegriCloud