From: Hans Verkuil Date: Fri, 28 Feb 2014 16:30:48 +0000 (-0300) Subject: [media] vb2: call buf_finish after the state check X-Git-Tag: v3.15-rc1~85^2~158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf3c31a8b63f56066de73695e256b7da96fff1e;p=pandora-kernel.git [media] vb2: call buf_finish after the state check Don't call buf_finish unless we know that the buffer is in a valid state. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed