android_kernel_google_msm/fs/f2fs
Jaegeuk Kim 4f963da44b fscrypto: don't let data integrity writebacks fail with ENOMEM
This patch fixes the issue introduced by the ext4 crypto fix in a same manner.
For F2FS, however, we flush the pending IOs and wait for a while to acquire free
memory.

Fixes: c9af28fdd4492 ("ext4 crypto: don't let data integrity writebacks fail with ENOMEM")
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

 Conflicts:
	fs/crypto/crypto.c
2016-10-29 23:12:37 +08:00
..
acl.c
acl.h
checkpoint.c f2fs: introduce f2fs_flush_merged_bios for cleanup 2016-10-29 23:12:32 +08:00
data.c fscrypto: don't let data integrity writebacks fail with ENOMEM 2016-10-29 23:12:37 +08:00
debug.c f2fs: monitor the number of background checkpoint 2016-10-29 23:12:25 +08:00
dir.c f2fs: clean up opened code with f2fs_update_dentry 2016-10-29 23:12:36 +08:00
extent_cache.c f2fs: introduce f2fs_update_data_blkaddr for cleanup 2016-10-29 23:12:32 +08:00
f2fs.h fs crypto: move per-file encryption from f2fs tree to fs/crypto 2016-10-29 23:12:35 +08:00
file.c f2fs: use dget_parent and file_dentry in f2fs_file_open 2016-10-29 23:12:36 +08:00
gc.c f2fs: introduce f2fs_update_data_blkaddr for cleanup 2016-10-29 23:12:32 +08:00
gc.h f2fs: detect idle time depending on user behavior 2016-10-29 23:12:25 +08:00
hash.c
inline.c fs crypto: move per-file encryption from f2fs tree to fs/crypto 2016-10-29 23:12:35 +08:00
inode.c fs crypto: move per-file encryption from f2fs tree to fs/crypto 2016-10-29 23:12:35 +08:00
Kconfig fs crypto: move per-file encryption from f2fs tree to fs/crypto 2016-10-29 23:12:35 +08:00
Makefile fs crypto: move per-file encryption from f2fs tree to fs/crypto 2016-10-29 23:12:35 +08:00
namei.c f2fs crypto: fix corrupted symlink in encrypted case 2016-10-29 23:12:36 +08:00
node.c f2fs: submit node page write bios when really required 2016-10-29 23:12:36 +08:00
node.h f2fs: use wait_for_stable_page to avoid contention 2016-10-29 23:12:28 +08:00
recovery.c f2fs: support revoking atomic written pages 2016-10-29 23:12:31 +08:00
segment.c f2fs: introduce f2fs_update_data_blkaddr for cleanup 2016-10-29 23:12:32 +08:00
segment.h f2fs: split journal cache from curseg cache 2016-10-29 23:12:31 +08:00
shrinker.c f2fs: speed up shrinking extent tree entries 2016-10-29 23:12:22 +08:00
super.c f2fs: retrieve IO write stat from the right place 2016-10-29 23:12:36 +08:00
trace.c f2fs: trace old block address for CoWed page 2016-10-29 23:12:32 +08:00
trace.h
xattr.c f2fs: use wait_for_stable_page to avoid contention 2016-10-29 23:12:28 +08:00
xattr.h f2fs: add missing argument to f2fs_setxattr stub 2016-10-29 23:12:36 +08:00