From: Jaegeuk Kim Date: Thu, 28 May 2015 02:51:42 +0000 (-0700) Subject: f2fs crypto: avoid f2fs_inherit_context for symlink X-Git-Tag: omap-for-v4.3/legacy-v2-signed~156^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e992e238ff93920da65f5aa83d3f3e257530ce8b;p=pandora-kernel.git f2fs crypto: avoid f2fs_inherit_context for symlink This patch fixes to call f2fs_inherit_context twice for newly created symlink. The original one is called by f2fs_add_link(), which invokes f2fs_setxattr. If the second one is called again, f2fs_setxattr is triggered again with same encryption index. Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed