Android 9.0.0 Release 0.43
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXAWL+gAKCRDorT+BmrEO
eIcqAKCB/oYEwn/lQIMMD2mCMjppO3vXzwCfSJiwNcc3otp5+Aynb2j1u8amrCw=
=EBAa
-----END PGP SIGNATURE-----
UPSTREAM: f2fs: avoid wrong decrypted data from disk

Cherry-pick from upstream:
commit 0ded69f632bb ("f2fs: avoid wrong decrypted data from disk")

1. Create a file in an encrypted directory
2. Do GC & drop caches
3. Read stale data before its bio for metapage was not issued yet

Bug: 115990430
Change-Id: Ibe95bbf440e3db54f9790a2f2af3a6c513c38735
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
4 files changed