aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/buf.h
diff options
context:
space:
mode:
authorJeffrey Hsu <hsu@FreeBSD.org>1996-03-11 02:04:27 +0000
committerJeffrey Hsu <hsu@FreeBSD.org>1996-03-11 02:04:27 +0000
commit0f21b147b2cb3ad366b311edb89ca002a4902048 (patch)
tree3ebb592c995432fb6f0984b5a4025c506d0e403a /sys/sys/buf.h
parenteed665fc219e2594ab86a248be2bfcf81a376b75 (diff)
downloadsrc-0f21b147b2cb3ad366b311edb89ca002a4902048.tar.gz
src-0f21b147b2cb3ad366b311edb89ca002a4902048.zip
Merge in Lite2: rename B_APPENDWRITE to B_NEEDCOMMIT.
The other change to b_pfcent is no longer pertinent, since we've deleted that field. Reviewed by: davidg & bde
Notes
Notes: svn path=/head/; revision=14476
Diffstat (limited to 'sys/sys/buf.h')
-rw-r--r--sys/sys/buf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index 93085cbeb0d1..d5432dc9f389 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -35,8 +35,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)buf.h 8.7 (Berkeley) 1/21/94
- * $Id: buf.h,v 1.27 1996/01/19 03:59:03 dyson Exp $
+ * @(#)buf.h 8.9 (Berkeley) 3/30/95
+ * $Id: buf.h,v 1.29 1996/02/24 04:05:54 hsu Exp $
*/
#ifndef _SYS_BUF_H_
@@ -118,7 +118,7 @@ struct buf {
* These flags are kept in b_flags.
*/
#define B_AGE 0x00000001 /* Move to age queue when I/O done. */
-#define B_APPENDWRITE 0x00000002 /* Append-write in progress. */
+#define B_NEEDCOMMIT 0x00000002 /* Append-write in progress. */
#define B_ASYNC 0x00000004 /* Start I/O, do not wait. */
#define B_BAD 0x00000008 /* Bad block revectoring in progress. */
#define B_BUSY 0x00000010 /* I/O in progress. */
@@ -215,7 +215,7 @@ struct buf *gbincore __P((struct vnode *, daddr_t));
int inmem __P((struct vnode *, daddr_t));
struct buf *getblk __P((struct vnode *, daddr_t, int, int, int));
struct buf *geteblk __P((int));
-int allocbuf __P((struct buf *, int));
+int allocbuf __P((struct buf *, int));
int biowait __P((struct buf *));
void biodone __P((struct buf *));