[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170517083649.25135-1-richard@nod.at>
Date: Wed, 17 May 2017 10:36:44 +0200
From: Richard Weinberger <richard@....at>
To: linux-mtd@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, Richard Weinberger <richard@....at>
Subject: [PATCH 1/6] ubifs: Don't try to encrypt special files
fscrypt can only operate on files, directories and symlinks.
Fixes: d475a507457b5cafa428871a473d0dcc828c5f68
Signed-off-by: Richard Weinberger <richard@....at>
---
fs/ubifs/dir.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index 566079d9b402..70b26221f2e7 100644
--- a/fs/ubifs/dir.c
+++ b/fs/ubifs/dir.c
@@ -142,6 +142,7 @@ struct inode *ubifs_new_inode(struct ubifs_info *c, struct inode *dir,
case S_IFIFO:
case S_IFBLK:
case S_IFCHR:
+ encrypted = false;
inode->i_op = &ubifs_file_inode_operations;
break;
default:
--
2.12.0
Powered by blists - more mailing lists