From: Chao Yu Date: Wed, 27 May 2015 07:27:49 +0000 (+0800) Subject: f2fs crypto: do not set encryption policy for non-directory by ioctl X-Git-Tag: omap-for-v4.3/legacy-v2-signed~156^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4637fd11fff7ddca1a1d7d27d2fbfc4dcb8e9791;p=pandora-kernel.git f2fs crypto: do not set encryption policy for non-directory by ioctl Encryption policy should only be set to an empty directory through ioctl, This patch add a judgement condition to verify type of the target inode to avoid incorrectly configuring for non-directory. Additionally, remove unneeded inline data conversion since regular or symlink file should not be processed here. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed