Lines Matching defs:inode
37 * Note that this function frees the inode in case of error.
39 static int nfs_superblock_set_dummy_root(struct super_block *sb, struct inode *inode)
43 sb->s_root = d_make_root(inode);
46 ihold(inode);
73 struct inode *inode;
94 inode = nfs_fhget(s, ctx->mntfh, fsinfo.fattr);
95 if (IS_ERR(inode)) {
96 dprintk("nfs_get_root: get root inode failed\n");
97 error = PTR_ERR(inode);
98 nfs_errorf(fc, "NFS: Couldn't get root inode");
102 error = nfs_superblock_set_dummy_root(s, inode);
110 root = d_obtain_root(inode);
118 security_d_instantiate(root, inode);
151 nfs_setsecurity(inode, fsinfo.fattr);