diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-04-10 04:08:34 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-04-10 04:08:34 +0000 |
commit | 39714cb212e38a31abbdf01349fcc0211dd6f073 (patch) | |
tree | 706f3f29e2642dfa022bcec35abbf79ceff4a024 /sys/geom/geom_disk.c | |
parent | 9fcc70de74585cb50ad7e66252ee1d76b7fdce9a (diff) | |
download | FreeBSD-src-39714cb212e38a31abbdf01349fcc0211dd6f073.zip FreeBSD-src-39714cb212e38a31abbdf01349fcc0211dd6f073.tar.gz |
Revert r190676,190677
The geom and CAM changes for root_hold are the wrong solution for USB design
quirks.
Requested by: scottl
Diffstat (limited to 'sys/geom/geom_disk.c')
-rw-r--r-- | sys/geom/geom_disk.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c index 3b1e748..20998bd 100644 --- a/sys/geom/geom_disk.c +++ b/sys/geom/geom_disk.c @@ -381,7 +381,6 @@ g_disk_create(void *arg, int flag) printf("GEOM: new disk %s\n", gp->name); dp->d_geom = gp; g_error_provider(pp, 0); - root_mount_rel(dp->d_roothold); } static void @@ -468,7 +467,6 @@ disk_create(struct disk *dp, int version) dp->d_sectorsize, DEVSTAT_ALL_SUPPORTED, DEVSTAT_TYPE_DIRECT, DEVSTAT_PRIORITY_MAX); dp->d_geom = NULL; - dp->d_roothold = root_mount_hold(dp->d_name, M_WAITOK); g_disk_ident_adjust(dp->d_ident, sizeof(dp->d_ident)); g_post_event(g_disk_create, dp, M_WAITOK, dp, NULL); } |