Bug 196743 - make set_rootvnode() a externally visible
Summary: make set_rootvnode() a externally visible
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD bugs mailing list
Keywords: patch
Depends on:
Reported: 2015-01-15 01:14 UTC by tjj5036
Modified: 2015-03-07 14:14 UTC (History)
0 users

See Also:

A patch for this change (964 bytes, patch)
2015-01-15 01:14 UTC, tjj5036
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tjj5036 2015-01-15 01:14:23 UTC
Created attachment 151652 [details]
A patch for this change

The file sys/kern/vfs_mountroot.c contains a static function set_rootvnode(). We have some kernel specific code that currently invokes this (indirectly) when doing some IO. This change just gets rid of the "static" keyword and creates a prototype in mount.h.