From: Shaohua Li Date: Sat, 19 Oct 2013 06:50:28 +0000 (+0800) Subject: raid5: set bio bi_vcnt 0 for discard request X-Git-Tag: v3.12-rc7~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37c61ff31e9b5e3fcf3cc6579f5c68f6ad40c4b1;p=pandora-kernel.git raid5: set bio bi_vcnt 0 for discard request SCSI layer will add new payload for discard request. If two bios are merged to one, the second bio has bi_vcnt 1 which is set in raid5. This will confuse SCSI and cause oops. Suitable for backport to 3.7+ Cc: stable@vger.kernel.org (v3.7+) Reported-by: Jes Sorensen Signed-off-by: Shaohua Li Signed-off-by: NeilBrown Acked-by: Martin K. Petersen --- Reading git-diff-tree failed