f2fs: don't allow encrypted operations without keys
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 29 Dec 2016 01:31:15 +0000 (17:31 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 29 Jan 2017 03:46:01 +0000 (12:46 +0900)
commit363fa4e078cbdc97a172c19d19dc04b41b52ebc8
treedf0526f0b9d00fda3df98b94bcb6f66c8ec691e7
parent26a28a0c1eb756ba18bfb1f93309c4b4406b9cd9
f2fs: don't allow encrypted operations without keys

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>
fs/f2fs/namei.c