BFS_ROOT_INODE
inode->number = BFS_ROOT_INODE;
dirent->inode = BFS_ROOT_INODE;
dirent->inode = BFS_ROOT_INODE;
inode = &bfs->inode[file->inode - BFS_ROOT_INODE];
if (inode->number != BFS_ROOT_INODE)
inode = &inode[dirent->inode - BFS_ROOT_INODE];
if (inode->number == BFS_ROOT_INODE)
for (i = BFS_ROOT_INODE; i < bfs->max_inode; i++, inode++) {
if ((error = VFS_VGET(mp, BFS_ROOT_INODE, lktype, &vp)) != 0)
if (ino == BFS_ROOT_INODE) { /* BFS is flat filesystem */
dp->d_type = file->inode == BFS_ROOT_INODE ? DT_DIR : DT_REG;