Print this page
5045 use atomic_{inc,dec}_* instead of atomic_add_*

@@ -139,11 +139,11 @@
 
 #define CLONE2STATS(clone_xprt) \
         (struct rpc_clts_server *)(clone_xprt)->xp_master->xp_p2
 
 #define RSSTAT_INCR(stats, x)   \
-        atomic_add_64(&(stats)->x.value.ui64, 1)
+        atomic_inc_64(&(stats)->x.value.ui64)
 
 /*
  * Create a transport record.
  * The transport record, output buffer, and private data structure
  * are allocated.  The output buffer is serialized into using xdrmem.