summaryrefslogtreecommitdiff
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-10-16 19:51:51 +0200
committerRichard Weinberger <richard@nod.at>2016-12-12 23:07:38 +0100
commitcc41a536524fba126ab11c41a866cf9037adbaf8 (patch)
tree042f64e44bfc4b8f28cc81228998ecc90e93d757 /fs/ubifs/ubifs.h
parent528e3d178f257e36001345d4d61ae5af35422017 (diff)
downloadlwn-cc41a536524fba126ab11c41a866cf9037adbaf8.tar.gz
lwn-cc41a536524fba126ab11c41a866cf9037adbaf8.zip
ubifs: Use a random number for cookies
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r--fs/ubifs/ubifs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index a80610758543..9be71b6a4cd2 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -39,6 +39,7 @@
#include <linux/security.h>
#include <linux/xattr.h>
#include <linux/fscrypto.h>
+#include <linux/random.h>
#include "ubifs-media.h"
/* Version of this UBIFS implementation */