From: Jaegeuk Kim Date: Mon, 20 Apr 2015 22:19:06 +0000 (-0700) Subject: f2fs crypto: add encryption policy and password salt support X-Git-Tag: omap-for-v4.3/legacy-v2-signed~156^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f424f664f0e8949361d268e2e91c7acc8cf63eb2;p=pandora-kernel.git f2fs crypto: add encryption policy and password salt support This patch adds encryption policy and password salt support through ioctl implementation. It adds three ioctls: F2FS_IOC_SET_ENCRYPTION_POLICY, F2FS_IOC_GET_ENCRYPTION_POLICY, F2FS_IOC_GET_ENCRYPTION_PWSALT, which use xattr operations. Note that, these definition and codes are taken from ext4 crypto support. For f2fs, xattr operations and on-disk flags for superblock and inode were changed. Signed-off-by: Michael Halcrow Signed-off-by: Theodore Ts'o Signed-off-by: Ildar Muslukhov Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed