eCryptfs: initialize payload_len in keystore.c
authorSimon Que <sque@chromium.org>
Thu, 17 Jan 2013 19:18:20 +0000 (11:18 -0800)
committerTyler Hicks <tyhicks@canonical.com>
Thu, 17 Jan 2013 19:31:25 +0000 (11:31 -0800)
This is meant to remove a compiler warning.  It should not make any
functional change.

payload_len should be initialized when it is passed to
write_tag_64_packet() as a pointer.  If that call fails, this function
should return early, and payload_len won't be used.

Signed-off-by: Simon Que <sque@chromium.org>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>

No differences found