f2fs/crypto: drop crypto key at evict_inode only
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 7 Oct 2017 07:08:05 +0000 (00:08 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 01:21:59 +0000 (17:21 -0800)
commit0dbf4fd41748972447f03698456a02668a566b65
tree12b69ef7511321a0dfbfea63644bdfb2d7f6ccb1
parent8c5827634ad6b8dfe1f79cf8cc29aa3ddc6e37f7
f2fs/crypto: drop crypto key at evict_inode only

This patch avoids dropping crypto key in f2fs_drop_inode, so we can guarantee
it happens only at evict_inode.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c