From: Tetsuo Handa Date: Wed, 20 Aug 2014 05:14:04 +0000 (+0900) Subject: tomoyo: Fix pathname calculation breakage. X-Git-Tag: omap-fixes-against-v3.17-rc3~39^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fe7a268b18ebc89203c766b020b9e32f1cfeebf;p=pandora-kernel.git tomoyo: Fix pathname calculation breakage. Commit 7177a9c4b509 ("fs: call rename2 if exists") changed "struct inode_operations"->rename == NULL if "struct inode_operations"->rename2 != NULL . TOMOYO needs to check for both ->rename and ->rename2 , or a system on (e.g.) ext4 filesystem won't boot. Signed-off-by: Tetsuo Handa Signed-off-by: Serge E. Hallyn --- Reading git-diff-tree failed