commit | cee6029ecfc2494e7869da20e3ff5aa7f5c4368e | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@purestorage.com> | Thu May 29 13:32:29 2014 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Tue Jun 03 19:18:43 2014 -0700 |
tree | fdb025c65f407188d55a1b25f99d62fd8c8df941 | |
parent | 91f0abfda1709131edbd62ad3515da2b8e6c0261 [diff] |
iscsi-target: Put length of failed allocation in error message If the message "Unable to allocate…" pops up, it's useful to know whether the problem is that the system is genuinely out of memory, or that some bug has led to a crazy allocation length. In particular this helped debug a corruption of login headers in iscsi_login_non_zero_tsih_s1(). Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>