Revert "Fix fsck_ufs segfaults with gjournal (SU+J)"
Fix fsck for 32-bit platforms.
This reverts commit f190f9193b
.
This commit is contained in:
parent
871291c8d4
commit
9b0f1d64b0
@ -272,7 +272,6 @@ checkfilesys(char *filesys)
|
||||
* exit status will cause a foreground check to be run.
|
||||
*/
|
||||
sblock_init();
|
||||
bufinit();
|
||||
if (bkgrdcheck) {
|
||||
if ((fsreadfd = open(filesys, O_RDONLY)) < 0 || readsb(0) == 0)
|
||||
exit(3); /* Cannot read superblock */
|
||||
|
@ -298,6 +298,7 @@ setup(char *dev)
|
||||
(uintmax_t)numdirs * sizeof(struct inoinfo *));
|
||||
goto badsb;
|
||||
}
|
||||
bufinit();
|
||||
if (sblock.fs_flags & FS_DOSOFTDEP)
|
||||
usedsoftdep = 1;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user