summaryrefslogtreecommitdiffstats
path: root/module/os
diff options
context:
space:
mode:
authorSpencer Kinny <[email protected]>2020-09-02 22:12:12 +0530
committerGitHub <[email protected]>2020-09-02 09:42:12 -0700
commit6fffc88bf389e6ae74c88b4e74d04869bf413e41 (patch)
tree16221044513ad71e910b27730f29b0db8246ff97 /module/os
parent0db1b84a6df462cee40f9eab24ac4489c654fa51 (diff)
Links in Source Files
Added comments in following files with links to Illumos manual pages: ./module/avl/avl.c ./module/nvpair/nvpair.c ./module/os/linux/spl/spl-kstat.c ./module/os/freebsd/spl/spl_kstat.c Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Spencer Kinny <[email protected]> Closes #5113 Closes #10859
Diffstat (limited to 'module/os')
-rw-r--r--module/os/freebsd/spl/spl_kstat.c4
-rw-r--r--module/os/linux/spl/spl-kstat.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/module/os/freebsd/spl/spl_kstat.c b/module/os/freebsd/spl/spl_kstat.c
index 92a18de63..df2da2d60 100644
--- a/module/os/freebsd/spl/spl_kstat.c
+++ b/module/os/freebsd/spl/spl_kstat.c
@@ -22,6 +22,10 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * Links to Illumos.org for more information on kstat function:
+ * [1] https://illumos.org/man/1M/kstat
+ * [2] https://illumos.org/man/9f/kstat_create
*/
#include <sys/cdefs.h>
diff --git a/module/os/linux/spl/spl-kstat.c b/module/os/linux/spl/spl-kstat.c
index b971b4498..b9eeb332e 100644
--- a/module/os/linux/spl/spl-kstat.c
+++ b/module/os/linux/spl/spl-kstat.c
@@ -22,6 +22,10 @@
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
*
* Solaris Porting Layer (SPL) Kstat Implementation.
+ *
+ * Links to Illumos.org for more information on kstat function:
+ * [1] https://illumos.org/man/1M/kstat
+ * [2] https://illumos.org/man/9f/kstat_create
*/
#include <linux/seq_file.h>