mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Get even closer to not crashing ext2fs
This commit is contained in:
parent
057b5a5e38
commit
d4cfa2b5e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137321
@ -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;
|
||||
};
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user