libata: Initialize qc->pad_len
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 17 Jan 2007 18:32:28 +0000 (12:32 -0600)
committerJeff Garzik <jeff@garzik.org>
Wed, 24 Jan 2007 07:04:34 +0000 (02:04 -0500)
commitd0f29485686d9d1c4f31240953a742d5dd4fdb72
tree5ee0078ac6ace0e4b2a9acfc17594fe006874622
parent7a801184fa480e11e6431f184a5bdf31f63326fb
libata: Initialize qc->pad_len

Initialize qc->pad_len for each new command. This ensures
that pad_len is not set to a stale value for zero data
length commands.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/linux/libata.h