Trim redundant message.

WITNESS_WARN() appends "with non-sleepable lock" to the caller's message.

Sponsored by:	Chelsio Communications
This commit is contained in:
John Baldwin 2016-04-27 21:51:24 +00:00
parent 1b424b5655
commit 164a37a55a

View File

@ -345,7 +345,7 @@ vmspace_free(struct vmspace *vm)
{
WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL,
"vmspace_free() called with non-sleepable lock held");
"vmspace_free() called");
if (vm->vm_refcnt == 0)
panic("vmspace_free: attempt to free already freed vmspace");