tomoyo: Fix pathname calculation breakage.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Wed, 20 Aug 2014 05:14:04 +0000 (14:14 +0900)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 27 Aug 2014 02:52:09 +0000 (21:52 -0500)
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 <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

No differences found