]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fscrypt: Allow fscrypt_decrypt_page() to function with non-writeback pages
authorDavid Gstir <david@sigma-star.at>
Sun, 13 Nov 2016 21:20:45 +0000 (22:20 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 Nov 2016 23:53:10 +0000 (18:53 -0500)
commitb50f7b268bad8088dfe7579a65cd910d8cc5c40f
tree7a4db96f6779146e5b9df84bd7d1cbb0d10e1032
parent1c7dcf69eea3224474fe884a03b3e19b82d1101e
fscrypt: Allow fscrypt_decrypt_page() to function with non-writeback pages

Some filesystem might pass pages which do not have page->mapping->host
set to the encrypted inode. We want the caller to explicitly pass the
corresponding inode.

Signed-off-by: David Gstir <david@sigma-star.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/crypto/crypto.c
fs/ext4/inode.c
include/linux/fscrypto.h