[PATCH] ubifs: Don't encrypt special files on creation

2017-05-17 Thread David Gstir
When a new inode is created, we check if the containing folder has a encryption policy set and inherit that. This should however only be done for regular files, links and subdirectories. Not for sockes fifos etc. Fixes: d475a507457b ("ubifs: Add skeleton for fscrypto") Cc: sta...@vger.kernel.org

[PATCH] ubifs: Don't encrypt special files on creation

2017-05-17 Thread David Gstir
When a new inode is created, we check if the containing folder has a encryption policy set and inherit that. This should however only be done for regular files, links and subdirectories. Not for sockes fifos etc. Fixes: d475a507457b ("ubifs: Add skeleton for fscrypto") Cc: sta...@vger.kernel.org