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:
@@ -2395,7 +2395,7 @@ static int smk_fill_super(struct super_block *sb, void *data, int silent)
|
||||
return rc;
|
||||
}
|
||||
|
||||
root_inode = sb->s_root->d_inode;
|
||||
root_inode = d_inode(sb->s_root);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user