提交 876edcc4 编写于 作者: N Namjae Jeon

cifsd: return zero in always success case

Return zero in always success case.
Reviewed-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NNamjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: NSteve French <stfrench@microsoft.com>
上级 b72802aa
......@@ -943,7 +943,7 @@ static int generate_smb3signingkey(struct ksmbd_session *sess,
SMB2_NTLMV2_SESSKEY_SIZE, sess->sess_key);
ksmbd_debug(AUTH, "Signing Key %*ph\n",
SMB3_SIGN_KEY_SIZE, key);
return rc;
return 0;
}
int ksmbd_gen_smb30_signingkey(struct ksmbd_session *sess)
......@@ -1011,7 +1011,7 @@ static int generate_smb3encryptionkey(struct ksmbd_session *sess,
ksmbd_debug(AUTH, "ServerOut Key %*ph\n",
SMB3_GCM128_CRYPTKEY_SIZE, sess->smb3decryptionkey);
}
return rc;
return 0;
}
int ksmbd_gen_smb30_encryptionkey(struct ksmbd_session *sess)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册