Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1643129

[PATCH 1/6] ubifs: Don't try to encrypt special files

From Richard Weinberger <richard@nod.at>
Newsgroups linux.kernel
Subject [PATCH 1/6] ubifs: Don't try to encrypt special files
Date 2017-05-17 10:40 +0200
Message-ID <tI2EW-J3-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


fscrypt can only operate on files, directories and symlinks.

Fixes: d475a507457b5cafa428871a473d0dcc828c5f68
Signed-off-by: Richard Weinberger <richard@nod.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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/6] ubifs: Don't try to encrypt special files Richard Weinberger <richard@nod.at> - 2017-05-17 10:40 +0200
  [PATCH 2/6] ubifs: Fix data node size for truncating uncompressed nodes Richard Weinberger <richard@nod.at> - 2017-05-17 10:40 +0200
  [PATCH 6/6] ubifs: Remove dead code from ubifs_get_link() Richard Weinberger <richard@nod.at> - 2017-05-17 10:40 +0200
  [PATCH 3/6] ubifs: Fix unlink code wrt. double hash lookups Richard Weinberger <richard@nod.at> - 2017-05-17 10:50 +0200

csiph-web