summaryrefslogtreecommitdiff
path: root/fs/ubifs/crypto.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-02-07 23:42:10 +0300
committerTheodore Ts'o <tytso@mit.edu>2017-02-08 18:59:57 +0300
commit6f69f0ed6136c302976f8e8f859b73d47f0c0c5c (patch)
treea0d3d6f76953010e4952b09779a6d3fab13ea205 /fs/ubifs/crypto.c
parentb14c8e6afd873cae97060272efaac376efec77a4 (diff)
downloadlinux-6f69f0ed6136c302976f8e8f859b73d47f0c0c5c.tar.xz
fscrypt: constify struct fscrypt_operations
Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/crypto.c')
-rw-r--r--fs/ubifs/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/crypto.c b/fs/ubifs/crypto.c
index 6335abcf98df..382ed428cfd2 100644
--- a/fs/ubifs/crypto.c
+++ b/fs/ubifs/crypto.c
@@ -77,7 +77,7 @@ int ubifs_decrypt(const struct inode *inode, struct ubifs_data_node *dn,
return 0;
}
-struct fscrypt_operations ubifs_crypt_operations = {
+const struct fscrypt_operations ubifs_crypt_operations = {
.flags = FS_CFLG_OWN_PAGES,
.key_prefix = "ubifs:",
.get_context = ubifs_crypt_get_context,