f2fs: don't allow encrypted operations without keys
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 29 Dec 2016 01:31:15 +0000 (17:31 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Oct 2017 09:51:26 +0000 (11:51 +0200)
commitec86c1ca8fbb3e6bfb6f67b3b3697600fa5bb0d7
tree1ffd5d804ad4969abdc418a9243d6d8d793a0a4e
parent48d7b5a8879002aeea63201d8fab598848cce0dd
f2fs: don't allow encrypted operations without keys

commit 363fa4e078cbdc97a172c19d19dc04b41b52ebc8 upstream.

This patch fixes the renaming bug on encrypted filenames, which was pointed by

 (ext4: don't allow encrypted operations without keys)

Cc: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/namei.c