aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_super.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-03-17 18:25:59 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-15 15:06:57 -0400
commit2b0143b5c986be1ce8408b3aadc4709e0a94429d (patch)
tree98b1dee70f3d5d9ac9309f4638e41864ddcd0952 /fs/9p/vfs_super.c
parentce0b16ddf18df35026164fda4a642ef10c01f442 (diff)
VFS: normal filesystems (and lustre): d_inode() annotations
that's the bulk of filesystem drivers dealing with inodes of their own Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p/vfs_super.c')
-rw-r--r--fs/9p/vfs_super.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c
index 0afd0382822b..e99a338a4638 100644
--- a/fs/9p/vfs_super.c
+++ b/fs/9p/vfs_super.c
@@ -168,8 +168,8 @@ static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags,
168 retval = PTR_ERR(st); 168 retval = PTR_ERR(st);
169 goto release_sb; 169 goto release_sb;
170 } 170 }
171 root->d_inode->i_ino = v9fs_qid2ino(&st->qid); 171 d_inode(root)->i_ino = v9fs_qid2ino(&st->qid);
172 v9fs_stat2inode_dotl(st, root->d_inode); 172 v9fs_stat2inode_dotl(st, d_inode(root));
173 kfree(st); 173 kfree(st);
174 } else { 174 } else {
175 struct p9_wstat *st = NULL; 175 struct p9_wstat *st = NULL;
@@ -179,8 +179,8 @@ static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags,
179 goto release_sb; 179 goto release_sb;
180 } 180 }
181 181
182 root->d_inode->i_ino = v9fs_qid2ino(&st->qid); 182 d_inode(root)->i_ino = v9fs_qid2ino(&st->qid);
183 v9fs_stat2inode(st, root->d_inode, sb); 183 v9fs_stat2inode(st, d_inode(root), sb);
184 184
185 p9stat_free(st); 185 p9stat_free(st);
186 kfree(st); 186 kfree(st);