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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user