ring-buffer: reset write field for ring_buffer_read_page
authorSteven Rostedt <srostedt@redhat.com>
Tue, 3 Mar 2009 01:56:48 +0000 (20:56 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Wed, 4 Mar 2009 01:50:54 +0000 (20:50 -0500)
commit41be4da4e85e58520b934040966a6ae919c66c2d
tree5a5b0225111a8e0c083ce9eb129f9786a335a92e
parent633ddaa7f471e9db181f993c1458d6f4bae321ca
ring-buffer: reset write field for ring_buffer_read_page

Impact: fix ring_buffer_read_page

After a page is swapped into the ring buffer, the write field must
also be reset.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/ring_buffer.c