From: Chao Yu Date: Mon, 25 May 2015 10:07:02 +0000 (+0800) Subject: f2fs crypto: check context consistent for rename2 X-Git-Tag: omap-for-v4.3/legacy-v2-signed~156^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3baf7c4725601d4689397b9f7dde9e3ddea032d;p=pandora-kernel.git f2fs crypto: check context consistent for rename2 For exchange rename, we should check context consistent of encryption between new_dir and old_inode or old_dir and new_inode. Otherwise inheritance of parent's encryption context will be broken. Signed-off-by: Chao Yu [Jaegeuk Kim: sync with ext4 approach] Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed