View | Details | Raw Unified | Return to bug 181710
Collapse All | Expand All

(-)kern/vfs_mountroot.c (-1 / +1 lines)
Lines 267-273 Link Here
267
	if (mporoot != mpdevfs)
267
	if (mporoot != mpdevfs)
268
		cache_purgevfs(mpdevfs);
268
		cache_purgevfs(mpdevfs);
269
269
270
	VFS_ROOT(mporoot, LK_EXCLUSIVE, &vporoot);
270
	(void)VFS_ROOT(mporoot, LK_EXCLUSIVE, &vporoot);
271
271
272
	VI_LOCK(vporoot);
272
	VI_LOCK(vporoot);
273
	vporoot->v_iflag &= ~VI_MOUNT;
273
	vporoot->v_iflag &= ~VI_MOUNT;
(-)kern/vfs_syscalls.c (-1 / +1 lines)
Lines 147-153 Link Here
147
		    vn_start_write(NULL, &mp, V_NOWAIT) == 0) {
147
		    vn_start_write(NULL, &mp, V_NOWAIT) == 0) {
148
			save = curthread_pflags_set(TDP_SYNCIO);
148
			save = curthread_pflags_set(TDP_SYNCIO);
149
			vfs_msync(mp, MNT_NOWAIT);
149
			vfs_msync(mp, MNT_NOWAIT);
150
			VFS_SYNC(mp, MNT_NOWAIT);
150
			(void)VFS_SYNC(mp, MNT_NOWAIT);
151
			curthread_pflags_restore(save);
151
			curthread_pflags_restore(save);
152
			vn_finished_write(mp);
152
			vn_finished_write(mp);
153
		}
153
		}
(-)ufs/ffs/ffs_softdep.c (-1 / +1 lines)
Lines 3407-3413 Link Here
3407
		if (journal_unsuspend(ump))
3407
		if (journal_unsuspend(ump))
3408
			return;
3408
			return;
3409
		FREE_LOCK(&lk);
3409
		FREE_LOCK(&lk);
3410
		VFS_SYNC(mp, MNT_NOWAIT);
3410
		(void)VFS_SYNC(mp, MNT_NOWAIT);
3411
		ffs_sbupdate(ump, MNT_WAIT, 0);
3411
		ffs_sbupdate(ump, MNT_WAIT, 0);
3412
		ACQUIRE_LOCK(&lk);
3412
		ACQUIRE_LOCK(&lk);
3413
	}
3413
	}

Return to bug 181710