]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
f2fs crypto: fix missing key when reading a page
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 6 May 2015 03:20:29 +0000 (20:20 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 May 2015 22:41:56 +0000 (15:41 -0700)
commitedf3fb8e9e5771944815fadbd8ef6a7e43ef0f7c
tree9c271a2eebc0f0654158a1bffc7648bd71372149
parentcbaf042a3cc6c37f9005fd6952cbf2013ab7cc15
f2fs crypto: fix missing key when reading a page

1. mount $mnt
2. cp data $mnt/
3. umount $mnt
4. log out
5. log in
6. cat $mnt/data

-> panic, due to no i_crypt_info.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/crypto.c