diff options
author | David Howells <dhowells@redhat.com> | 2015-02-19 10:47:02 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-15 15:06:57 -0400 |
commit | ce0b16ddf18df35026164fda4a642ef10c01f442 (patch) | |
tree | f1253eacda202bd3dfae647cc5d646af02d4d10a /security/selinux | |
parent | c6f493d631c4d40cea5c36055f9148f547b200af (diff) | |
download | op-kernel-dev-ce0b16ddf18df35026164fda4a642ef10c01f442.zip op-kernel-dev-ce0b16ddf18df35026164fda4a642ef10c01f442.tar.gz |
VFS: security/: d_inode() annotations
... except where that code acts as a filesystem driver, rather than
working with dentries given to it.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/selinux')
-rw-r--r-- | security/selinux/selinuxfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index 5fde343..d2787cca 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c @@ -1737,7 +1737,7 @@ static struct dentry *sel_make_dir(struct dentry *dir, const char *name, inc_nlink(inode); d_add(dentry, inode); /* bump link count on parent directory, too */ - inc_nlink(dir->d_inode); + inc_nlink(d_inode(dir)); return dentry; } |