summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorTobias Regnery <tobias.regnery@gmail.com>2017-03-30 13:34:14 +0300
committerSteve French <smfrench@gmail.com>2017-04-07 16:04:41 +0300
commit4fa8e504e5c0d7db9280ac96a4ac92192f1041f5 (patch)
treead40f34b68ccfc4e032fe69b5f0144a98bd58834 /fs/cifs
parent620d8745b35daaf507186c26b40c7ea02aed131e (diff)
downloadlinux-4fa8e504e5c0d7db9280ac96a4ac92192f1041f5.tar.xz
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>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/smb2ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index 063e59d543f9..7b12a727947e 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -21,6 +21,7 @@
#include <linux/vfs.h>
#include <linux/falloc.h>
#include <linux/scatterlist.h>
+#include <linux/uuid.h>
#include <crypto/aead.h>
#include "cifsglob.h"
#include "smb2pdu.h"