summaryrefslogtreecommitdiffstats
path: root/sys/fs/hpfs
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/fs/hpfs
parent5aa1777f1d2fef4a08ca34c95cd1e5130a0fe4ee (diff)
downloadFreeBSD-src-bb8d78bf443578181578e93ae89f4ba87be62f46.zip
FreeBSD-src-bb8d78bf443578181578e93ae89f4ba87be62f46.tar.gz
Introduce and use g_vfs_close().
Diffstat (limited to 'sys/fs/hpfs')
-rw-r--r--sys/fs/hpfs/hpfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/hpfs/hpfs_vfsops.c b/sys/fs/hpfs/hpfs_vfsops.c
index 7c42521..af5291d 100644
--- a/sys/fs/hpfs/hpfs_vfsops.c
+++ b/sys/fs/hpfs/hpfs_vfsops.c
@@ -345,7 +345,7 @@ failed:
if (bp)
brelse (bp);
mp->mnt_data = (qaddr_t)NULL;
- g_wither_geom_close(cp->geom, ENXIO);
+ g_vfs_close(cp, td);
return (error);
}
@@ -375,7 +375,7 @@ hpfs_unmount(
}
vinvalbuf(hpmp->hpm_devvp, V_SAVE, td, 0, 0);
- g_wither_geom_close(hpmp->hpm_cp->geom, ENXIO);
+ g_vfs_close(hpmp->hpm_cp, td);
vrele(hpmp->hpm_devvp);
dprintf(("hpfs_umount: freeing memory...\n"));
OpenPOWER on IntegriCloud