commit | 49c8042996c84f0df6c49ea2e28a7ef38cd7d773 | [log] [tgz] |
---|---|---|
author | Brian King <brking@linux.vnet.ibm.com> | Tue Jan 30 11:32:26 2007 -0600 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Feb 02 11:52:05 2007 -0500 |
tree | dbf75b5953090da89a95b0742c93600fb8e8a842 | |
parent | 0777721c9b270f087bf967369c9acbee3f1a12ae [diff] |
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 <brking@linux.vnet.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>