Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 1998 21:54:38 +0200 (CEST)
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        seggers@semyam.dinoco.de
Subject:   kern/7238: Misleading comment in swap_pager.h
Message-ID:  <199807101954.VAA26625@semyam.dinoco.de>

next in thread | raw e-mail | index | archive | help

>Number:         7238
>Category:       kern
>Synopsis:       Misleading comment in swap_pager.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 10 13:10:00 PDT 1998
>Last-Modified:
>Originator:     Stefan Eggers
>Organization:
none
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

	2.2-current VM subsystem source from a few days ago.

>Description:

	While reading the source I found an obsolete comment in a
header file.  See the diff for details.

>How-To-Repeat:

	N/A

>Fix:
	
--- swap_pager.h.ORIG	Wed Apr 29 06:28:02 1998
+++ swap_pager.h	Fri Jul 10 21:52:07 1998
@@ -62,7 +62,7 @@
 struct swblock {
 	unsigned short swb_valid;	/* bitmask for valid pages */
 	unsigned short swb_locked;	/* block locked */
-	daddr_t swb_block[SWB_NPAGES];	/* unfortunately int instead of daddr_t */
+	daddr_t swb_block[SWB_NPAGES];
 };
 typedef struct swblock *sw_blk_t;
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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