svn commit: r297951 - head/sys/sys

Warner Losh imp at FreeBSD.org
Thu Apr 14 04:16:32 UTC 2016


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 *);


More information about the svn-src-head mailing list