svn commit: r319167 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Tue May 30 02:25:48 UTC 2017
Author: mjg
Date: Tue May 30 02:25:47 2017
New Revision: 319167
URL: https://svnweb.freebsd.org/changeset/base/319167
Log:
mtx: fix whitespace damage in _mtx_trylock_flags_
MFC after: 3 days
Modified:
head/sys/kern/kern_mutex.c
Modified: head/sys/kern/kern_mutex.c
==============================================================================
--- head/sys/kern/kern_mutex.c Mon May 29 22:25:56 2017 (r319166)
+++ head/sys/kern/kern_mutex.c Tue May 30 02:25:47 2017 (r319167)
@@ -410,10 +410,10 @@ _mtx_trylock_flags_(volatile uintptr_t *c, int opts, c
if (v == tid &&
((m->lock_object.lo_flags & LO_RECURSABLE) != 0 ||
(opts & MTX_RECURSE) != 0)) {
- m->mtx_recurse++;
- atomic_set_ptr(&m->mtx_lock, MTX_RECURSED);
- recursed = true;
- break;
+ m->mtx_recurse++;
+ atomic_set_ptr(&m->mtx_lock, MTX_RECURSED);
+ recursed = true;
+ break;
}
rval = 0;
break;
More information about the svn-src-head
mailing list