From owner-cvs-sys Mon Aug 28 09:09:23 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id JAA11453 for cvs-sys-outgoing; Mon, 28 Aug 1995 09:09:23 -0700 Received: (from bde@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id JAA11443 ; Mon, 28 Aug 1995 09:09:16 -0700 Date: Mon, 28 Aug 1995 09:09:16 -0700 From: Bruce Evans Message-Id: <199508281609.JAA11443@freefall.FreeBSD.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/ufs/ufs ufs_disksubr.c Sender: cvs-sys-owner@FreeBSD.org Precedence: bulk bde 95/08/28 09:09:15 Modified: sys/ufs/ufs ufs_disksubr.c Log: Fix correct_writedisklabel() and writedisklabel(). Their setting of bp->b_flags has been broken for many years: a) they didn't set B_BUSY for doing i/o. This has been fatal since 1995/07/25 when biodone() started checking that B_BUSY is set. b) they didn't set B_INVAL for releasing the buffer. This at best just put a useless buffer in the LRU queue for a little while. Fix a couple of spelling errors and complete a couple of function pointer declarations.