summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-02-07 12:42:10 -0800
committerTheodore Ts'o <tytso@mit.edu>2017-02-08 10:59:57 -0500
commit6f69f0ed6136c302976f8e8f859b73d47f0c0c5c (patch)
treea0d3d6f76953010e4952b09779a6d3fab13ea205 /fs/ubifs/ubifs.h
parentb14c8e6afd873cae97060272efaac376efec77a4 (diff)
downloadlinux-6f69f0ed6136c302976f8e8f859b73d47f0c0c5c.tar.bz2
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/ubifs.h')
-rw-r--r--fs/ubifs/ubifs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index d9df379bacc6..f0c86f076535 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -1824,7 +1824,7 @@ int ubifs_decrypt(const struct inode *inode, struct ubifs_data_node *dn,
unsigned int *out_len, int block);
#endif
-extern struct fscrypt_operations ubifs_crypt_operations;
+extern const struct fscrypt_operations ubifs_crypt_operations;
static inline bool __ubifs_crypt_is_encrypted(struct inode *inode)
{