netfs: Further cleanups after struct netfs_inode wrapper introduced
[linux-block.git] / fs / afs / dynroot.c
index 3a5bbffdf053461045a728ffbda1dc8e7fb06da7..d7d9402ff7182adfb702a4bc473ce0db3d3aa2ac 100644 (file)
@@ -76,7 +76,7 @@ struct inode *afs_iget_pseudo_dir(struct super_block *sb, bool root)
        /* there shouldn't be an existing inode */
        BUG_ON(!(inode->i_state & I_NEW));
 
-       netfs_inode_init(inode, NULL);
+       netfs_inode_init(&vnode->netfs, NULL);
        inode->i_size           = 0;
        inode->i_mode           = S_IFDIR | S_IRUGO | S_IXUGO;
        if (root) {