diff options
author | pjd <pjd@FreeBSD.org> | 2007-04-08 23:54:23 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-04-08 23:54:23 +0000 |
commit | f0a2e6d38c259ffa4478382a157647fd2547f295 (patch) | |
tree | 52cf4f880c643d0b1c69d0bbd812612ff43f8b44 /sys | |
parent | 6f7c2e9be332701e0413b3b132f1ad7dcb450306 (diff) | |
download | FreeBSD-src-f0a2e6d38c259ffa4478382a157647fd2547f295.zip FreeBSD-src-f0a2e6d38c259ffa4478382a157647fd2547f295.tar.gz |
Use root_mounted().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/geom/eli/g_eli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c index d324008..b0e4cc8 100644 --- a/sys/geom/eli/g_eli.c +++ b/sys/geom/eli/g_eli.c @@ -881,7 +881,7 @@ g_eli_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) g_trace(G_T_TOPOLOGY, "%s(%s, %s)", __func__, mp->name, pp->name); g_topology_assert(); - if (rootvnode != NULL || g_eli_tries == 0) + if (root_mounted() || g_eli_tries == 0) return (NULL); G_ELI_DEBUG(3, "Tasting %s.", pp->name); |