summaryrefslogtreecommitdiffstats
path: root/sys/sys/mbuf.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2014-09-05 16:46:28 +0000
committerrwatson <rwatson@FreeBSD.org>2014-09-05 16:46:28 +0000
commit566ff71c450f12c922ad314ec3ef6f9ec4b3b4d2 (patch)
treeb5279504f2ba5db327f5ac8a829600dd5f9b5bbb /sys/sys/mbuf.h
parentb46fbbac90c150e0c7ed397aee01711a8e2b6461 (diff)
downloadFreeBSD-src-566ff71c450f12c922ad314ec3ef6f9ec4b3b4d2.zip
FreeBSD-src-566ff71c450f12c922ad314ec3ef6f9ec4b3b4d2.tar.gz
Clarify a diagnostic printf() in the mbuf code: M_EXT doesn't necessarily
imply a cluster is attached; it could also refer to some other sort of external storage (e.g., an sf_buf). MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/sys/mbuf.h')
-rw-r--r--sys/sys/mbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 1a64eb0..00bd867 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -672,7 +672,7 @@ m_clget(struct mbuf *m, int how)
{
if (m->m_flags & M_EXT)
- printf("%s: %p mbuf already has cluster\n", __func__, m);
+ printf("%s: %p mbuf already has external storage\n", __func__, m);
m->m_ext.ext_buf = (char *)NULL;
uma_zalloc_arg(zone_clust, m, how);
/*
@@ -698,7 +698,7 @@ m_cljget(struct mbuf *m, int how, int size)
uma_zone_t zone;
if (m && m->m_flags & M_EXT)
- printf("%s: %p mbuf already has cluster\n", __func__, m);
+ printf("%s: %p mbuf already has external storage\n", __func__, m);
if (m != NULL)
m->m_ext.ext_buf = NULL;
OpenPOWER on IntegriCloud