aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs/main.c')
-rw-r--r--fs/ecryptfs/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index 25aeaa7328ba..f2677c90d96e 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -426,7 +426,7 @@ static int ecryptfs_parse_options(struct ecryptfs_sb_info *sbi, char *options,
426 mount_crypt_stat->global_default_cipher_key_size); 426 mount_crypt_stat->global_default_cipher_key_size);
427 if (!cipher_code) { 427 if (!cipher_code) {
428 ecryptfs_printk(KERN_ERR, 428 ecryptfs_printk(KERN_ERR,
429 "eCryptfs doesn't support cipher: %s", 429 "eCryptfs doesn't support cipher: %s\n",
430 mount_crypt_stat->global_default_cipher_name); 430 mount_crypt_stat->global_default_cipher_name);
431 rc = -EINVAL; 431 rc = -EINVAL;
432 goto out; 432 goto out;
@@ -781,7 +781,7 @@ static struct attribute *attributes[] = {
781 NULL, 781 NULL,
782}; 782};
783 783
784static struct attribute_group attr_group = { 784static const struct attribute_group attr_group = {
785 .attrs = attributes, 785 .attrs = attributes,
786}; 786};
787 787