diff options
author | James Morris <james.l.morris@oracle.com> | 2013-03-11 12:54:48 +1100 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2013-03-11 12:54:48 +1100 |
commit | 2c4cdf5950b1a7a9d731c03c56e2cea3bd8ca7b7 (patch) | |
tree | ed0cdc81e72343132da9f52620ec40391f6dcbed /security/tomoyo | |
parent | 5b2660326039a32b28766cb4c1a8b1bdcfadc375 (diff) | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff) |
Merge tag 'v3.9-rc2' into next
Sync with Linus.
Linux 3.9-rc2
Diffstat (limited to 'security/tomoyo')
-rw-r--r-- | security/tomoyo/securityfs_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/securityfs_if.c b/security/tomoyo/securityfs_if.c index 8592f2fc6eb..fcf32783b66 100644 --- a/security/tomoyo/securityfs_if.c +++ b/security/tomoyo/securityfs_if.c @@ -135,7 +135,7 @@ static const struct file_operations tomoyo_self_operations = { */ static int tomoyo_open(struct inode *inode, struct file *file) { - const int key = ((u8 *) file->f_path.dentry->d_inode->i_private) + const int key = ((u8 *) file_inode(file)->i_private) - ((u8 *) NULL); return tomoyo_open_control(key, file); } |