svn commit: r319452 - stable/11/sys/kern

Mateusz Guzik mjg at FreeBSD.org
Thu Jun 1 18:39:56 UTC 2017


Author: mjg
Date: Thu Jun  1 18:39:54 2017
New Revision: 319452
URL: https://svnweb.freebsd.org/changeset/base/319452

Log:
  MFC r319167:
  
  mtx: fix whitespace damage in _mtx_trylock_flags_

Modified:
  stable/11/sys/kern/kern_mutex.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/kern/kern_mutex.c
==============================================================================
--- stable/11/sys/kern/kern_mutex.c	Thu Jun  1 18:37:08 2017	(r319451)
+++ stable/11/sys/kern/kern_mutex.c	Thu Jun  1 18:39:54 2017	(r319452)
@@ -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-all mailing list