mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
The ring_buffer_read_page was broken if it were to only copy part of the page. This patch fixes that up as well as adds a parameter to allow a length field, in order to only copy part of the buffer page. Signed-off-by: Steven Rostedt <srostedt@redhat.com>