ext4 crypto: handle unexpected lack of encryption keys
authorTheodore Ts'o <tytso@google.com>
Thu, 4 Jun 2015 20:41:15 +0000 (16:41 -0400)
committerIan Chang <ianc@nvidia.com>
Wed, 1 Jun 2016 05:00:04 +0000 (13:00 +0800)
commitb4acaf332759c678ed9e5b89728ffefb624b72f0
treefc2645bef70708c14b644db29fed090d11dfa13f
parent7b78a2bc882830aea36c9256d7785d05c40fdba1
ext4 crypto: handle unexpected lack of encryption keys

Fix up attempts by users to try to write to a file when they don't
have access to the encryption key.

Change-Id: Iabdd438b26b409eaccf9c847fcf9c3ab52f1959e
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/crypto.c
fs/ext4/crypto_policy.c
fs/ext4/file.c