android_kernel_oneplus_msm8998/fs/ecryptfs
Andrey Markovytch 03bad71331 eCryptfs: fixes issue where files sometimes got corrupted upon close
Fixes implementation of cache cleaning, it was implemented using outdated
code which cleaned valid pages as well by mistake. The fix uses the
original implementation from mm layer which was tweaked to zero pages
after releasing them. Also it is now invoked only when there is HW
encryption (meaning that cache is unencrypted)

Change-Id: If713fd17a89be6d998c1a7ba86bee4c17d2bca0f
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>

Conflicts:
	fs/ecryptfs/caches_utils.c
2016-03-23 21:24:13 -07:00
..
crypto.c eCryptfs: fixes issue where files sometimes got corrupted upon close 2016-03-23 21:24:13 -07:00
debug.c PFK: fixed issue where key in TZ was not set properly 2016-03-23 21:24:07 -07:00
dentry.c eCryptfs: Invalidate dcache entries when lower i_nlink is zero 2015-08-18 17:29:48 -05:00
ecryptfs_kernel.h eCryptfs: fixed some major bugs 2016-03-23 21:24:11 -07:00
events.c eCryptfs: fixed some major bugs 2016-03-23 21:24:11 -07:00
file.c eCryptfs: fixes issue where files sometimes got corrupted upon close 2016-03-23 21:24:13 -07:00
inode.c ecryptfs: enhancing ecryptfs to be configurable with encryption type 2016-03-23 21:24:05 -07:00
Kconfig Minor code cleanups and new Kconfig option to disable /dev/ecryptfs 2013-03-07 12:47:24 -08:00
keystore.c eCryptfs: fixed some major bugs 2016-03-23 21:24:11 -07:00
kthread.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
main.c eCryptfs: fixes issue where files sometimes got corrupted upon close 2016-03-23 21:24:13 -07:00
Makefile eCryptfs: fixes issue where files sometimes got corrupted upon close 2016-03-23 21:24:13 -07:00
messaging.c fs/ecryptfs/messaging.c: remove null test before kfree 2014-07-03 16:38:09 -05:00
miscdev.c ecryptfs: close rmmod race 2013-04-09 14:08:16 -04:00
mmap.c ecryptfs: enhancing ecryptfs to be configurable with encryption type 2016-03-23 21:24:05 -07:00
read_write.c ecryptfs: don't open-code kernel_read() 2013-05-09 13:39:58 -04:00
super.c eCryptfs: fixed some major bugs 2016-03-23 21:24:11 -07:00