Revert r248639 to fix build failure on head/
This commit is contained in:
parent
aaf2546b67
commit
e1c7cfb200
@ -441,8 +441,7 @@ CMDFUNCSTART(findblk)
|
|||||||
ino_t inum, inosused;
|
ino_t inum, inosused;
|
||||||
uint32_t *wantedblk32;
|
uint32_t *wantedblk32;
|
||||||
uint64_t *wantedblk64;
|
uint64_t *wantedblk64;
|
||||||
struct bufarea *cgbp;
|
struct cg *cgp = &cgrp;
|
||||||
struct cg *cgp;
|
|
||||||
int c, i, is_ufs2;
|
int c, i, is_ufs2;
|
||||||
|
|
||||||
wantedblksize = (argc - 1);
|
wantedblksize = (argc - 1);
|
||||||
@ -474,8 +473,8 @@ CMDFUNCSTART(findblk)
|
|||||||
*/
|
*/
|
||||||
inum = c * sblock.fs_ipg;
|
inum = c * sblock.fs_ipg;
|
||||||
/* Read cylinder group. */
|
/* Read cylinder group. */
|
||||||
cgbp = cgget(c);
|
getblk(&cgblk, cgtod(&sblock, c), sblock.fs_cgsize);
|
||||||
cgp = cgbp->b_un.b_cg;
|
memcpy(cgp, cgblk.b_un.b_cg, sblock.fs_cgsize);
|
||||||
/*
|
/*
|
||||||
* Get a highest used inode number for a given cylinder group.
|
* Get a highest used inode number for a given cylinder group.
|
||||||
* For UFS1 all inodes initialized at the newfs stage.
|
* For UFS1 all inodes initialized at the newfs stage.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user