mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
cifsd: return zero in always success case
Return zero in always success case. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
b72802aa77
commit
876edcc4cf
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue