Lines Matching refs:root
505 sync_filesystem(fc->root->d_sb);
555 /* Check that the root inode is in a sane state */
556 if (!S_ISDIR(super->root.mode)) {
557 errorfc(fc, "root is not a directory");
561 super->root.mode |= 0555;
563 root_offset = super->root.offset << 2;
581 errorfc(fc, "bad root offset %lu", root_offset);
591 struct inode *root;
598 root = get_cramfs_inode(sb, cramfs_root, 0);
599 if (IS_ERR(root))
600 return PTR_ERR(root);
601 sb->s_root = d_make_root(root);
625 return cramfs_finalize_super(sb, &super.root);
666 return cramfs_finalize_super(sb, &super.root);