summaryrefslogtreecommitdiff
path: root/fs/ubifs/super.c
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/super.c
parentb14c8e6afd873cae97060272efaac376efec77a4 (diff)
downloadlwn-6f69f0ed6136c302976f8e8f859b73d47f0c0c5c.tar.gz
lwn-6f69f0ed6136c302976f8e8f859b73d47f0c0c5c.zip
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/super.c')
-rw-r--r--fs/ubifs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index e08aa04fc835..b73811bd7676 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -2000,7 +2000,7 @@ static struct ubifs_info *alloc_ubifs_info(struct ubi_volume_desc *ubi)
}
#ifndef CONFIG_UBIFS_FS_ENCRYPTION
-struct fscrypt_operations ubifs_crypt_operations = {
+const struct fscrypt_operations ubifs_crypt_operations = {
.is_encrypted = __ubifs_crypt_is_encrypted,
};
#endif