diff options
author | phk <phk@FreeBSD.org> | 2005-01-25 15:52:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-01-25 15:52:04 +0000 |
commit | bb8d78bf443578181578e93ae89f4ba87be62f46 (patch) | |
tree | 006765566c899c6067ab86bc60e6a5ab9f93446c /sys/fs/udf | |
parent | 5aa1777f1d2fef4a08ca34c95cd1e5130a0fe4ee (diff) | |
download | FreeBSD-src-bb8d78bf443578181578e93ae89f4ba87be62f46.zip FreeBSD-src-bb8d78bf443578181578e93ae89f4ba87be62f46.tar.gz |
Introduce and use g_vfs_close().
Diffstat (limited to 'sys/fs/udf')
-rw-r--r-- | sys/fs/udf/udf_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c index d39f0cc..ef3ae3f18 100644 --- a/sys/fs/udf/udf_vfsops.c +++ b/sys/fs/udf/udf_vfsops.c @@ -486,7 +486,7 @@ bail: brelse(bp); DROP_GIANT(); g_topology_lock(); - g_wither_geom_close(cp->geom, ENXIO); + g_vfs_close(cp, td); g_topology_unlock(); PICKUP_GIANT(); return error; @@ -515,7 +515,7 @@ udf_unmount(struct mount *mp, int mntflags, struct thread *td) #endif } - g_wither_geom_close(udfmp->im_cp->geom, ENXIO); + g_vfs_close(udfmp->im_cp, td); vrele(udfmp->im_devvp); if (udfmp->s_table != NULL) |