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>
This commit is contained in:
David Howells
2015-02-19 10:47:02 +00:00
committed by Al Viro
parent c6f493d631
commit ce0b16ddf1
4 changed files with 12 additions and 12 deletions

View File

@@ -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;
}