From: Christoph Hellwig Date: Mon, 17 Oct 2011 17:56:49 +0000 (-0400) Subject: target: move depth_left manipulation out of transport_generic_request_failure X-Git-Tag: v3.2-rc1~24^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4499dda85890e6726def812febaab5dc064cc920;p=pandora-kernel.git target: move depth_left manipulation out of transport_generic_request_failure We only need to decrement dev->depth_left if failing a command from __transport_execute_tasks. Instead of doing it first thing in transport_generic_request_failure and requiring a pseudo-flag argument for it just opencode the decrement in the two callers (which should be factored into a single one anyway) Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed