Lines Matching refs:root
72 struct dentry *root; in nfs_get_root() local
113 root = d_obtain_root(inode); in nfs_get_root()
114 if (IS_ERR(root)) { in nfs_get_root()
116 error = PTR_ERR(root); in nfs_get_root()
121 security_d_instantiate(root, inode); in nfs_get_root()
122 spin_lock(&root->d_lock); in nfs_get_root()
123 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root()
124 !(root->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_get_root()
125 root->d_fsdata = name; in nfs_get_root()
128 spin_unlock(&root->d_lock); in nfs_get_root()
129 fc->root = root; in nfs_get_root()
133 if (d_inode(fc->root)->i_fop != &nfs_dir_operations) { in nfs_get_root()
162 dput(fc->root); in nfs_get_root()
163 fc->root = NULL; in nfs_get_root()