Deleted Added
full compact
37c37
< __FBSDID("$FreeBSD: head/sys/geom/geom_disk.c 119660 2003-09-01 20:45:32Z phk $");
---
> __FBSDID("$FreeBSD: head/sys/geom/geom_disk.c 120374 2003-09-23 07:53:59Z phk $");
301a302,303
> if (dp == NULL)
> return;
369,371c371,374
< dp->d_devstat = devstat_new_entry(dp->d_name, dp->d_unit,
< dp->d_sectorsize, DEVSTAT_ALL_SUPPORTED,
< DEVSTAT_TYPE_DIRECT, DEVSTAT_PRIORITY_MAX);
---
> if (dp->d_devstat == NULL)
> dp->d_devstat = devstat_new_entry(dp->d_name, dp->d_unit,
> dp->d_sectorsize, DEVSTAT_ALL_SUPPORTED,
> DEVSTAT_TYPE_DIRECT, DEVSTAT_PRIORITY_MAX);