Lines Matching defs:root
512 sync_filesystem(fc->root->d_sb);
562 /* Check that the root inode is in a sane state */
563 if (!S_ISDIR(super->root.mode)) {
564 errorfc(fc, "root is not a directory");
568 super->root.mode |= 0555;
570 root_offset = super->root.offset << 2;
588 errorfc(fc, "bad root offset %lu", root_offset);
598 struct inode *root;
605 root = get_cramfs_inode(sb, cramfs_root, 0);
606 if (IS_ERR(root))
607 return PTR_ERR(root);
608 sb->s_root = d_make_root(root);
632 return cramfs_finalize_super(sb, &super.root);
673 return cramfs_finalize_super(sb, &super.root);