iscsi-target: Fix uninitialized usage of cmd->pad_bytes
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 27 Jul 2011 19:16:22 +0000 (12:16 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 27 Jul 2011 20:28:31 +0000 (20:28 +0000)
commit76f1928e8831961a692459924cfac0ca1b0d303a
tree99c2ff11bc6e863e82bd285b7db1a392526f1df9
parent8f50c7f5d63b0e4a29f6f96e8cfaca782e0c458d
iscsi-target: Fix uninitialized usage of cmd->pad_bytes

This patch fixes an uninitialized usage of cmd->pad_bytes inside of
iscsit_handle_text_cmd() introduced during a v4.1 change to use cmd
members instead of local pad_bytes variables.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c