]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
CIFS: Fix build failure with smb2
authorTobias Regnery <tobias.regnery@gmail.com>
Thu, 30 Mar 2017 10:34:14 +0000 (12:34 +0200)
committerSteve French <smfrench@gmail.com>
Fri, 7 Apr 2017 13:04:41 +0000 (08:04 -0500)
commit4fa8e504e5c0d7db9280ac96a4ac92192f1041f5
treead40f34b68ccfc4e032fe69b5f0144a98bd58834
parent620d8745b35daaf507186c26b40c7ea02aed131e
CIFS: Fix build failure with smb2

I saw the following build error during a randconfig build:

fs/cifs/smb2ops.c: In function 'smb2_new_lease_key':
fs/cifs/smb2ops.c:1104:2: error: implicit declaration of function 'generate_random_uuid' [-Werror=implicit-function-declaration]

Explicit include the right header to fix this issue.

Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2ops.c