Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 04:16:31 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297951 - head/sys/sys
Message-ID:  <201604140416.u3E4GVU6025882@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Apr 14 04:16:31 2016
New Revision: 297951
URL: https://svnweb.freebsd.org/changeset/base/297951

Log:
  Add comment about where b_iocmd and b_ioflags come from.

Modified:
  head/sys/sys/buf.h

Modified: head/sys/sys/buf.h
==============================================================================
--- head/sys/sys/buf.h	Thu Apr 14 01:24:00 2016	(r297950)
+++ head/sys/sys/buf.h	Thu Apr 14 04:16:31 2016	(r297951)
@@ -98,8 +98,8 @@ struct buf {
 	void		*b_caller1;
 	caddr_t		b_data;
 	int		b_error;
-	uint8_t		b_iocmd;
-	uint8_t		b_ioflags;
+	uint8_t		b_iocmd;	/* BIO_* bio_cmd from bio.h */
+	uint8_t		b_ioflags;	/* BIO_* bio_flags from bio.h */
 	off_t		b_iooffset;
 	long		b_resid;
 	void	(*b_iodone)(struct buf *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604140416.u3E4GVU6025882>