Lines Matching refs:root
285 cifs_dbg(VFS, "%s: get root inode failed\n", __func__);
297 if (cifs_sb->root) {
300 /* finally release root dentry */
301 dput(cifs_sb->root);
302 cifs_sb->root = NULL;
518 static int cifs_show_devname(struct seq_file *m, struct dentry *root)
520 struct cifs_sb_info *cifs_sb = CIFS_SB(root->d_sb);
540 cifs_show_options(struct seq_file *s, struct dentry *root)
542 struct cifs_sb_info *cifs_sb = CIFS_SB(root->d_sb);
657 if (root->d_sb->s_flags & SB_POSIXACL)
786 static int cifs_show_stats(struct seq_file *s, struct dentry *root)
830 * Get root dentry from superblock according to prefix path mount option.
850 cifs_dbg(FYI, "Get root dentry for %s\n", full_path);
898 struct dentry *root;
914 root = ERR_PTR(-ENOMEM);
919 root = ERR_PTR(rc);
925 root = ERR_PTR(rc);
934 root = ERR_PTR(rc);
958 root = ERR_PTR(rc);
965 root = cifs_get_root(cifs_sb ? cifs_sb->ctx : old_ctx, sb);
966 if (IS_ERR(root))
970 cifs_sb->root = dget(root);
972 cifs_dbg(FYI, "dentry root is: %p\n", root);
973 return root;
977 return root;
982 return root;