f2fs: deny accessing encryption policy if encryption is off
authorChao Yu <yuchao0@huawei.com>
Tue, 14 Nov 2017 11:28:42 +0000 (19:28 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 03:39:15 +0000 (19:39 -0800)
commit7b538c1c32e1af67d13ca5e3832bfe5df36a28a2
tree06afef3db0755f7f7629e1d7f9a89fc074fb58f7
parentc43ffa1881bc63be747e94e3a7b237bc1cd2320b
f2fs: deny accessing encryption policy if encryption is off

This patch adds missing feature check in encryption ioctl interface.

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