From: Christoph Hellwig Date: Sat, 28 Jun 2014 14:18:59 +0000 (+0200) Subject: sd: retry discard commands X-Git-Tag: cleanup-for-v3.18~102^2~96 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4200f8ee35db820680a3caa25d260ef11fc1462;p=pandora-kernel.git sd: retry discard commands Currently cmd->allowed is initialized from rq->retries for discard commands, but retries is always 0 for non-BLOCK_PC requests. Set it to the standard number of retries instead. Signed-off-by: Christoph Hellwig Reviewed-by: Martin K. Petersen Reviewed-by: Hannes Reinecke --- Reading git-diff-tree failed