diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c index 46d247c722eec5be2d5d9183c55bd10275161d36..87392805e1a793bf4c0db23ff08e22b12c3ecba3 100644 --- a/fs/cifs/smb2ops.c +++ b/fs/cifs/smb2ops.c @@ -4076,7 +4076,7 @@ smb2_get_enc_key(struct TCP_Server_Info *server, __u64 ses_id, int enc, u8 *key) } spin_unlock(&cifs_tcp_ses_lock); - return 1; + return -EAGAIN; } /* * Encrypt or decrypt @rqst message. @rqst[0] has the following format: