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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to