mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
libgeom maintains a quasi-private mapping of /dev/devstat, which might grow over time if new devices appear. When the mapping needs to be expanded, the old mapping is passed as a hint, but this appears to be unnecessary. Simplify and improve things a bit: - stop passing a hint when remapping, - don't creat a mapping in geom_stats_open(), as geom_stats_resync() will create it for us, - check for errors from munmap(). Reviewed by: imp, asomers Tested by: asomers MFC after: 2 weeks Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D46294 (cherry picked from commit d06fe346eccf0919a29d43599548e49c0d6a7a17) |
||
|---|---|---|
| .. | ||
| geom_ctl.c | ||
| geom_getxml.c | ||
| geom_stats.c | ||
| geom_util.c | ||
| geom_xml2tree.c | ||
| libgeom.3 | ||
| libgeom.h | ||
| Makefile | ||
| Makefile.depend | ||