From: Brian King Date: Tue, 30 Jan 2007 17:32:26 +0000 (-0600) Subject: libata: Initialize nbytes for internal sg commands X-Git-Tag: v2.6.20~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c8042996c84f0df6c49ea2e28a7ef38cd7d773;p=pandora-kernel.git libata: Initialize nbytes for internal sg commands Some LLDDs, like ipr, use nbytes and pad_len to determine the total data transfer length of a command. Make sure nbytes gets initialized for internally generated commands. Signed-off-by: Brian King Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed