From ce0b16ddf18df35026164fda4a642ef10c01f442 Mon Sep 17 00:00:00 2001 From: David Howells Date: Thu, 19 Feb 2015 10:47:02 +0000 Subject: 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 Signed-off-by: Al Viro --- security/smack/smackfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'security/smack') diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c index bce4e8f1b267..2611a651c344 100644 --- a/security/smack/smackfs.c +++ b/security/smack/smackfs.c @@ -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; } -- cgit v1.2.3-59-g8ed1b