Various whitespace fixes.

This commit is contained in:
John Baldwin 2008-09-10 17:59:21 +00:00
parent b288b49909
commit bf9c6c31e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182909
3 changed files with 10 additions and 11 deletions

View file

@ -604,10 +604,10 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line)
ts = turnstile_lookup(&m->lock_object);
if (LOCK_LOG_TEST(&m->lock_object, opts))
CTR1(KTR_LOCK, "_mtx_unlock_sleep: %p contested", m);
MPASS(ts != NULL);
turnstile_broadcast(ts, TS_EXCLUSIVE_QUEUE);
_release_lock_quick(m);
/*
* This turnstile is now no longer associated with the mutex. We can
* unlock the chain lock so a new turnstile may take it's place.

View file

@ -734,7 +734,6 @@ _rw_wunlock_hard(struct rwlock *rw, uintptr_t tid, const char *file, int line)
turnstile_chain_lock(&rw->lock_object);
ts = turnstile_lookup(&rw->lock_object);
MPASS(ts != NULL);
/*

View file

@ -73,7 +73,7 @@ extern int maxusers; /* system tune hint */
} while (0)
#define VNASSERT(exp, vp, msg) do { \
if (__predict_false(!(exp))) { \
vn_printf(vp, "VNASSERT failed\n"); \
vn_printf(vp, "VNASSERT failed\n"); \
panic msg; \
} \
} while (0)