FreeBSD/sbin/fsck_ffs/gjournal.c
/*
 * Mark file system as clean, write the super-block back, close the disk.
 */
Mark file system as clean, write the super-block back, close the disk.
Mark file system as clean write the super - block back close the disk .
static void
closedisk(void)
{
	fs->fs_clean = 1;
	if (sbwrite(disk, 0) == -1)
		err(1, "sbwrite(%s)", devnam);
	if (ufs_disk_close(disk) == -1)
		err(1, "ufs_disk_close(%s)", devnam);
	free(disk);
	disk = NULL;
	fs = NULL;
}
static void closedisk ( void ) { fs -> fs_clean = 1 ; if ( sbwrite ( disk , 0 ) == -1 ) err ( 1 , " " , devnam ) ; if ( ufs_disk_close ( disk ) == -1 ) err ( 1 , " " , devnam ) ; free ( disk ) ; disk = NULL ; fs = NULL ; }
Mark file system as clean, write the super-block back, close the disk.
Mark file system as clean write the super - block back close the disk .