On 02/14/2014 11:41 AM, Hans Verkuil wrote:
From: Hans Verkuil hans.verk...@cisco.com
In __reqbufs() and __create_bufs() the q-num_buffers field was updated
with the number of newly allocated buffers, but right after that those are
freed again if some error had occurred before. Move the line
From: Hans Verkuil hans.verk...@cisco.com
In __reqbufs() and __create_bufs() the q-num_buffers field was updated
with the number of newly allocated buffers, but right after that those are
freed again if some error had occurred before. Move the line updating
num_buffers to *after* that error