diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/gnu/ext2fs/ext2_mount.h | 1 | ||||
-rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 2 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_mount.h | 1 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 2 |
4 files changed, 2 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/ext2_mount.h b/sys/gnu/ext2fs/ext2_mount.h index 2c91a0e..413db0c 100644 --- a/sys/gnu/ext2fs/ext2_mount.h +++ b/sys/gnu/ext2fs/ext2_mount.h @@ -54,7 +54,6 @@ struct ext2mount { u_long um_bptrtodb; /* indir ptr to disk block */ u_long um_seqinc; /* inc between seq blocks */ - struct g_geom *um_gp; struct g_consumer *um_cp; struct bufobj *um_bo; }; diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 4336c7c..905e7f7 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -808,7 +808,7 @@ ext2_unmount(mp, mntflags, td) DROP_GIANT(); g_topology_lock(); - g_wither_geom_close(ump->um_gp, ENXIO); + g_wither_geom_close(ump->um_cp->geom, ENXIO); g_topology_unlock(); PICKUP_GIANT(); vrele(ump->um_devvp); diff --git a/sys/gnu/fs/ext2fs/ext2_mount.h b/sys/gnu/fs/ext2fs/ext2_mount.h index 2c91a0e..413db0c 100644 --- a/sys/gnu/fs/ext2fs/ext2_mount.h +++ b/sys/gnu/fs/ext2fs/ext2_mount.h @@ -54,7 +54,6 @@ struct ext2mount { u_long um_bptrtodb; /* indir ptr to disk block */ u_long um_seqinc; /* inc between seq blocks */ - struct g_geom *um_gp; struct g_consumer *um_cp; struct bufobj *um_bo; }; diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index 4336c7c..905e7f7 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -808,7 +808,7 @@ ext2_unmount(mp, mntflags, td) DROP_GIANT(); g_topology_lock(); - g_wither_geom_close(ump->um_gp, ENXIO); + g_wither_geom_close(ump->um_cp->geom, ENXIO); g_topology_unlock(); PICKUP_GIANT(); vrele(ump->um_devvp); |