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;
97 inode = nfs_fhget(s, ctx->mntfh, fsinfo.fattr, NULL);
98 if (IS_ERR(inode)) {
99 dprintk("nfs_get_root: get root inode failed\n");
100 error = PTR_ERR(inode);
101 nfs_errorf(fc, "NFS: Couldn't get root inode");
105 error = nfs_superblock_set_dummy_root(s, inode);
113 root = d_obtain_root(inode);
121 security_d_instantiate(root, inode);
150 nfs_setsecurity(inode, fsinfo.fattr, fsinfo.fattr->label);