diff options
author | Tobias Regnery <tobias.regnery@gmail.com> | 2017-03-30 12:34:14 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-04-07 08:04:41 -0500 |
commit | 4fa8e504e5c0d7db9280ac96a4ac92192f1041f5 (patch) | |
tree | ad40f34b68ccfc4e032fe69b5f0144a98bd58834 /fs | |
parent | 620d8745b35daaf507186c26b40c7ea02aed131e (diff) | |
download | talos-obmc-linux-4fa8e504e5c0d7db9280ac96a4ac92192f1041f5.tar.gz talos-obmc-linux-4fa8e504e5c0d7db9280ac96a4ac92192f1041f5.zip |
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')
-rw-r--r-- | fs/cifs/smb2ops.c | 1 |
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" |