Lines Matching refs:root
283 cifs_dbg(VFS, "%s: get root inode failed\n", __func__);
295 if (cifs_sb->root) {
298 /* finally release root dentry */
299 dput(cifs_sb->root);
300 cifs_sb->root = NULL;
521 static int cifs_show_devname(struct seq_file *m, struct dentry *root)
523 struct cifs_sb_info *cifs_sb = CIFS_SB(root->d_sb);
543 cifs_show_options(struct seq_file *s, struct dentry *root)
545 struct cifs_sb_info *cifs_sb = CIFS_SB(root->d_sb);
660 if (root->d_sb->s_flags & SB_POSIXACL)
795 static int cifs_show_stats(struct seq_file *s, struct dentry *root)
838 * Get root dentry from superblock according to prefix path mount option.
858 cifs_dbg(FYI, "Get root dentry for %s\n", full_path);
906 struct dentry *root;
922 root = ERR_PTR(-ENOMEM);
927 root = ERR_PTR(rc);
933 root = ERR_PTR(rc);
942 root = ERR_PTR(rc);
966 root = ERR_PTR(rc);
973 root = cifs_get_root(cifs_sb ? cifs_sb->ctx : old_ctx, sb);
974 if (IS_ERR(root))
978 cifs_sb->root = dget(root);
980 cifs_dbg(FYI, "dentry root is: %p\n", root);
981 return root;
985 return root;
990 return root;