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
This commit is contained in:
Robert Watson 2014-09-05 16:46:28 +00:00
parent 27ecc2adbc
commit 2f1cbd147f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271174

View File

@ -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;