From 6a7b43985daa4f42b6d6f0186594c3a68f84a1d8 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Sat, 28 Jun 2014 12:35:13 +0200 Subject: [PATCH] sd: don't use scsi_setup_blk_pc_cmnd for discard requests Simplify handling of discard requests by setting up the command directly instead of initializing request fields and then calling scsi_setup_blk_pc_cmnd to propagate the information into the command. Signed-off-by: Christoph Hellwig Reviewed-by: Martin K. Petersen Reviewed-by: Hannes Reinecke --- Reading git-format-patch failed