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)
commitfa5199648e273a5e3e80aca41c1eb53700438dc1
treeb11dee22c5d019373ac57b46bfebec4e61f61ba4
parentdfdebc24837ed0a1d6ad73b108a10d3c88d1b6e8
eCryptfs: initialize payload_len in keystore.c

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>
fs/ecryptfs/keystore.c