callback: fix for nfs41_callback_session_init()

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2011-08-26 15:03:25 -04:00
parent 687f05edca
commit 6c3bb06eca

View file

@ -49,7 +49,7 @@ void nfs41_callback_session_init(
IN nfs41_session *session) IN nfs41_session *session)
{ {
/* initialize the replay cache with status NFS4ERR_SEQ_MISORDERED */ /* initialize the replay cache with status NFS4ERR_SEQ_MISORDERED */
struct cb_compound_res res; struct cb_compound_res res = { 0 };
StringCchCopyA(res.tag.str, CB_COMPOUND_MAX_TAG, g_server_tag); StringCchCopyA(res.tag.str, CB_COMPOUND_MAX_TAG, g_server_tag);
res.tag.len = sizeof(g_server_tag); res.tag.len = sizeof(g_server_tag);
res.status = NFS4ERR_SEQ_MISORDERED; res.status = NFS4ERR_SEQ_MISORDERED;