diff options
author | Steve French <smfrench@gmail.com> | 2013-06-27 10:06:50 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-27 10:06:50 +0400 |
commit | e65a5cb41718e0eb17a470bc3acf2c3b2f00f1d0 (patch) | |
tree | cc64e02a4c7e852592da9a56dcc10472fc48d6ae /fs/cifs/connect.c | |
parent | 429b46f4fdaf9c9007b7c0fc371b94e40c3764b2 (diff) | |
download | linux-e65a5cb41718e0eb17a470bc3acf2c3b2f00f1d0.tar.xz |
[CIFS] Fix build warning
Fix build warning in Shirish's recent SMB3 signing patch
which occurs when SMB2 support is disabled in Kconfig.
fs/built-in.o: In function `cifs_setup_session':
>> (.text+0xa1767): undefined reference to `generate_smb3signingkey'
Pointed out by: automated 0-DAY kernel build testing backend
Intel Open Source Technology Center
CC: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 354ea7782dba..afcb8a1a33b7 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -3841,7 +3841,8 @@ cifs_setup_session(const unsigned int xid, struct cifs_ses *ses, server->sequence_number = 0x2; server->session_estab = true; ses->auth_key.response = NULL; - generate_smb3signingkey(server); + if (server->ops->generate_signingkey) + server->ops->generate_signingkey(server); } mutex_unlock(&server->srv_mutex); |