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/gnu | |
parent | 5aa1777f1d2fef4a08ca34c95cd1e5130a0fe4ee (diff) | |
download | FreeBSD-src-bb8d78bf443578181578e93ae89f4ba87be62f46.zip FreeBSD-src-bb8d78bf443578181578e93ae89f4ba87be62f46.tar.gz |
Introduce and use g_vfs_close().
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 4 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index b3e50aa..b258065 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -691,7 +691,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(); } @@ -750,7 +750,7 @@ ext2_unmount(mp, mntflags, td) DROP_GIANT(); g_topology_lock(); - g_wither_geom_close(ump->um_cp->geom, ENXIO); + g_vfs_close(ump->um_cp, td); g_topology_unlock(); PICKUP_GIANT(); vrele(ump->um_devvp); diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index b3e50aa..b258065 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -691,7 +691,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(); } @@ -750,7 +750,7 @@ ext2_unmount(mp, mntflags, td) DROP_GIANT(); g_topology_lock(); - g_wither_geom_close(ump->um_cp->geom, ENXIO); + g_vfs_close(ump->um_cp, td); g_topology_unlock(); PICKUP_GIANT(); vrele(ump->um_devvp); |