documentation: Fix circular-buffer example.
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 2 Nov 2013 17:17:52 +0000 (10:17 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 3 Dec 2013 18:08:56 +0000 (10:08 -0800)
commit9873552fc1b01ef9bddc9fec4c492d9fa8b27f51
treee4ea4d9a9f2ce20f686c0aa1900623b0471936a6
parent97e63f0caf0e977a1648b50943909c87a3f683d3
documentation: Fix circular-buffer example.

The code sample in Documentation/circular-buffers.txt appears to have a
few ordering bugs.  This patch therefore applies the needed fixes.

Reported-by: Lech Fomicki <lfomicki@poczta.fm>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/circular-buffers.txt