diff options
author | David Howells <dhowells@redhat.com> | 2015-03-17 18:26:22 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-15 15:06:56 -0400 |
commit | c6f493d631c4d40cea5c36055f9148f547b200af (patch) | |
tree | 233b04dca85cd796dffe1284a55b1fba24d0d59a /security/tomoyo/condition.c | |
parent | c5ef60352893b139147b7c033354e8e028e7f52a (diff) |
VFS: security/: d_backing_inode() annotations
most of the ->d_inode uses there refer to the same inode IO would
go to, i.e. d_backing_inode()
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo/condition.c')
-rw-r--r-- | security/tomoyo/condition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/condition.c b/security/tomoyo/condition.c index 63681e8be628..6c4528d4b48f 100644 --- a/security/tomoyo/condition.c +++ b/security/tomoyo/condition.c | |||
@@ -714,7 +714,7 @@ void tomoyo_get_attributes(struct tomoyo_obj_info *obj) | |||
714 | dentry = dget_parent(dentry); | 714 | dentry = dget_parent(dentry); |
715 | break; | 715 | break; |
716 | } | 716 | } |
717 | inode = dentry->d_inode; | 717 | inode = d_backing_inode(dentry); |
718 | if (inode) { | 718 | if (inode) { |
719 | struct tomoyo_mini_stat *stat = &obj->stat[i]; | 719 | struct tomoyo_mini_stat *stat = &obj->stat[i]; |
720 | stat->uid = inode->i_uid; | 720 | stat->uid = inode->i_uid; |